forked from qt-creator/qt-creator
QmlDesigner: Use Model ConnectionMetaInfo method
Change-Id: I1ac34ed36df45e8fe1f8baa60311b1c337c4ac71 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -297,7 +297,7 @@ void ConnectionModel::addConnection()
|
||||
|
||||
if (rootModelNode.isValid() && rootModelNode.metaInfo().isValid()) {
|
||||
|
||||
NodeMetaInfo nodeMetaInfo = connectionView()->model()->metaInfo("QtQuick.Connections");
|
||||
NodeMetaInfo nodeMetaInfo = connectionView()->model()->qtQuickConnectionsMetaInfo();
|
||||
|
||||
if (nodeMetaInfo.isValid()) {
|
||||
connectionView()->executeInTransaction("ConnectionModel::addConnection", [=, &rootModelNode](){
|
||||
|
||||
Reference in New Issue
Block a user