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:
Thomas Hartmann
2014-06-12 16:35:17 +02:00
parent 3afc9f56a9
commit fa91e7b8ff

View File

@@ -247,7 +247,7 @@ static inline QVariant convertDynamicPropertyValueToVariant(const QString &astVa
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)