forked from qt-creator/qt-creator
QmlDesigner: Add QtQml.Component as component type
Change-Id: Ief07ffc863de978b6082adfec3477b00a7309654 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -288,11 +288,8 @@ bool isListElementType(const QmlDesigner::TypeName &type)
|
||||
|
||||
bool isComponentType(const QmlDesigner::TypeName &type)
|
||||
{
|
||||
return type == "Component"
|
||||
|| type == "Qt.Component"
|
||||
|| type == "QtQuick.Component"
|
||||
|| type == "<cpp>.QQmlComponent"
|
||||
|| type == "QQmlComponent";
|
||||
return type == "Component" || type == "Qt.Component" || type == "QtQuick.Component"
|
||||
|| type == "QtQml.Component" || type == "<cpp>.QQmlComponent" || type == "QQmlComponent";
|
||||
}
|
||||
|
||||
bool isCustomParserType(const QmlDesigner::TypeName &type)
|
||||
|
||||
Reference in New Issue
Block a user