diff --git a/src/plugins/qmldesigner/designercore/model/texttomodelmerger.cpp b/src/plugins/qmldesigner/designercore/model/texttomodelmerger.cpp index a4914e17993..507452b660d 100644 --- a/src/plugins/qmldesigner/designercore/model/texttomodelmerger.cpp +++ b/src/plugins/qmldesigner/designercore/model/texttomodelmerger.cpp @@ -275,7 +275,11 @@ static bool isListElementType(const QmlDesigner::TypeName &type) static bool isComponentType(const QmlDesigner::TypeName &type) { - return type == "Component" || type == "Qt.Component" || type == "QtQuick.Component" || type == ".QQmlComponent"; + return type == "Component" + || type == "Qt.Component" + || type == "QtQuick.Component" + || type == ".QQmlComponent" + || type == "QQmlComponent"; } static bool isCustomParserType(const QmlDesigner::TypeName &type)