From fa91e7b8ff1880f7066e56df4acd83c92404ed62 Mon Sep 17 00:00:00 2001 From: Thomas Hartmann Date: Thu, 12 Jun 2014 16:35:17 +0200 Subject: [PATCH] QmlDesigner.Rewriter: Supporting Tab contents as implicit component Because of the alias we get the cpp type. Change-Id: Iad82fa702940978b555734af4496c1c49b49f3f8 Reviewed-by: Marco Bubke --- .../qmldesigner/designercore/model/texttomodelmerger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qmldesigner/designercore/model/texttomodelmerger.cpp b/src/plugins/qmldesigner/designercore/model/texttomodelmerger.cpp index 1c4a52f1679..f993b6d6e18 100644 --- a/src/plugins/qmldesigner/designercore/model/texttomodelmerger.cpp +++ b/src/plugins/qmldesigner/designercore/model/texttomodelmerger.cpp @@ -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 == ".QQmlComponent"; } static bool isCustomParserType(const QString &type)