Fix krazy issues: Use explicit constructors

* Fix all warnings about non-explicit constructors except for those
   in 3rdparty code.
This commit is contained in:
Tobias Hunger
2010-08-26 18:35:30 +02:00
parent 8d188d0104
commit 715796b48a
63 changed files with 77 additions and 77 deletions

View File

@@ -493,8 +493,8 @@ AST::Node *QmlOutlineModel::nodeForIndex(const QModelIndex &index) const
AST::SourceLocation QmlOutlineModel::sourceLocation(const QModelIndex &index) const
{
QTC_ASSERT(index.isValid() && (index.model() == this), return 0);
AST::SourceLocation location;
QTC_ASSERT(index.isValid() && (index.model() == this), return location);
AST::Node *node = nodeForIndex(index);
if (node) {
if (AST::UiObjectMember *member = node->uiObjectMemberCast())