forked from qt-creator/qt-creator
QmlDesigner: Fix Connections syntax
Fix the Connections syntax to avoid warning:
QML Connections: Implicitly defined onFoo properties in Connections are
deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
Change-Id: I8ff33445443b0d5b36a7ce40f7d5a0b6b99abdcb
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Patch Build Bot <ci_patchbuild_bot@qt.io>
Reviewed-by: Shrief Gabr <shrief.gabr@qt.io>
Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io>
This commit is contained in:
committed by
Henning Gründl
parent
a311055f8f
commit
d59b056820
@@ -481,7 +481,7 @@ Rectangle {
|
||||
|
||||
Connections {
|
||||
target: root.parent
|
||||
onIsHorizontalChanged: editPropertyDialog.close()
|
||||
function onIsHorizontalChanged() { editPropertyDialog.close() }
|
||||
}
|
||||
|
||||
StudioControls.Dialog {
|
||||
|
||||
Reference in New Issue
Block a user