forked from qt-creator/qt-creator
QmlDesigner.MetaInfo: fix for typeinfo from the cpp code model
If the typeinfo is provided by the cpp code model if have to use the object value for the lookup. Task-number: QTCREATORBUG-8746 Change-Id: I42e55782ee16ddc255e2f919845a385ff1f3f636 Reviewed-by: Marco Bubke <marco.bubke@digia.com>
This commit is contained in:
@@ -593,7 +593,7 @@ const QmlJS::CppComponentValue *NodeMetaInfoPrivate::getCppComponentValue() cons
|
||||
return cppValue;
|
||||
}
|
||||
|
||||
return 0;
|
||||
return value_cast<CppComponentValue>(getObjectValue());
|
||||
}
|
||||
|
||||
const QmlJS::ObjectValue *NodeMetaInfoPrivate::getObjectValue() const
|
||||
|
Reference in New Issue
Block a user