forked from qt-creator/qt-creator
QmlDesigner: Fix for Connections visibility
- Fixes an issue with connection model not finding Connections in 5.15 Task: QDS-2412 Change-Id: I07bbb900907aaaebccdd90dbc1f037ee0b2fcc61 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
committed by
Thomas Hartmann
parent
c0770313f3
commit
4ed146035e
@@ -56,7 +56,8 @@ bool isConnection(const QmlDesigner::ModelNode &modelNode)
|
||||
{
|
||||
return (modelNode.type() == "Connections"
|
||||
|| modelNode.type() == "QtQuick.Connections"
|
||||
|| modelNode.type() == "Qt.Connections");
|
||||
|| modelNode.type() == "Qt.Connections"
|
||||
|| modelNode.type() == "QtQml.Connections");
|
||||
|
||||
}
|
||||
|
||||
|
@@ -311,7 +311,7 @@ bool isPropertyChangesType(const QmlDesigner::TypeName &type)
|
||||
|
||||
bool isConnectionsType(const QmlDesigner::TypeName &type)
|
||||
{
|
||||
return type == "Connections" || type == "QtQuick.Connections" || type == "Qt.Connections";
|
||||
return type == "Connections" || type == "QtQuick.Connections" || type == "Qt.Connections" || type == "QtQml.Connections";
|
||||
}
|
||||
|
||||
bool propertyIsComponentType(const QmlDesigner::NodeAbstractProperty &property, const QmlDesigner::TypeName &type, QmlDesigner::Model *model)
|
||||
|
Reference in New Issue
Block a user