forked from qt-creator/qt-creator
QmlDesigner.Rewriter: Supporting Tab contents as implicit component
Because of the alias we get the cpp type. Change-Id: Iad82fa702940978b555734af4496c1c49b49f3f8 Reviewed-by: Marco Bubke <marco.bubke@digia.com>
This commit is contained in:
@@ -247,7 +247,7 @@ static inline QVariant convertDynamicPropertyValueToVariant(const QString &astVa
|
|||||||
|
|
||||||
static bool isComponentType(const QmlDesigner::TypeName &type)
|
static bool isComponentType(const QmlDesigner::TypeName &type)
|
||||||
{
|
{
|
||||||
return type == "Component" || type == "Qt.Component" || type == "QtQuick.Component";
|
return type == "Component" || type == "Qt.Component" || type == "QtQuick.Component" || type == "<cpp>.QQmlComponent";
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool isCustomParserType(const QString &type)
|
static bool isCustomParserType(const QString &type)
|
||||||
|
|||||||
Reference in New Issue
Block a user