forked from qt-creator/qt-creator
Fix krazy issues: Use explicit constructors
* Fix all warnings about non-explicit constructors except for those in 3rdparty code.
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user