From d59b0568202dacbd3327722ea5149df8a7b98f0e Mon Sep 17 00:00:00 2001 From: Henning Gruendl Date: Fri, 19 Jan 2024 10:28:23 +0100 Subject: [PATCH] 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() { ... } Change-Id: I8ff33445443b0d5b36a7ce40f7d5a0b6b99abdcb Reviewed-by: Reviewed-by: Qt CI Patch Build Bot Reviewed-by: Shrief Gabr Reviewed-by: Mahmoud Badri --- .../collectionEditorQmlSource/CollectionDetailsView.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/qtcreator/qmldesigner/collectionEditorQmlSource/CollectionDetailsView.qml b/share/qtcreator/qmldesigner/collectionEditorQmlSource/CollectionDetailsView.qml index 598ed562295..d87a4feee09 100644 --- a/share/qtcreator/qmldesigner/collectionEditorQmlSource/CollectionDetailsView.qml +++ b/share/qtcreator/qmldesigner/collectionEditorQmlSource/CollectionDetailsView.qml @@ -481,7 +481,7 @@ Rectangle { Connections { target: root.parent - onIsHorizontalChanged: editPropertyDialog.close() + function onIsHorizontalChanged() { editPropertyDialog.close() } } StudioControls.Dialog {