forked from qt-creator/qt-creator
QmlDesigner: Fix Connections in ConnectionsEditor
Fix Implicitly defined onFoo properties in Connections are deprecated. Change-Id: I0f2460dd4b69c070f4982ca0ec13b19cfda0342b Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
This commit is contained in:
committed by
Henning Gründl
parent
94bd14eb46
commit
560b77d64b
@@ -36,7 +36,6 @@ PopupDialog {
|
|||||||
property int currentTypeIndex: backend.signal.id.currentIndex ?? 0
|
property int currentTypeIndex: backend.signal.id.currentIndex ?? 0
|
||||||
onCurrentTypeIndexChanged: target.currentIndex = target.currentTypeIndex
|
onCurrentTypeIndexChanged: target.currentIndex = target.currentTypeIndex
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ConnectionsDialogForm {
|
ConnectionsDialogForm {
|
||||||
@@ -44,10 +43,9 @@ PopupDialog {
|
|||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
target: root.backend
|
target: root.backend
|
||||||
onPopupTargetRemoved: {
|
function onPopupTargetRemoved() {
|
||||||
root.close()
|
root.close()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user