From 715f0dbbccef9ba44c1033ce5d1e6c57a8ab2982 Mon Sep 17 00:00:00 2001 From: Ismael Asensio Date: Sat, 3 Oct 2020 00:01:41 +0200 Subject: [PATCH] [kcm/kwinrules] Port to new Connections syntax While at it remove `FIXME`comment that no longer applies --- kcmkwin/kwinrules/package/contents/ui/RulesEditor.qml | 3 +-- kcmkwin/kwinrules/package/contents/ui/RulesList.qml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/kcmkwin/kwinrules/package/contents/ui/RulesEditor.qml b/kcmkwin/kwinrules/package/contents/ui/RulesEditor.qml index 74bac1fa3..9661967fa 100644 --- a/kcmkwin/kwinrules/package/contents/ui/RulesEditor.qml +++ b/kcmkwin/kwinrules/package/contents/ui/RulesEditor.qml @@ -54,7 +54,6 @@ ScrollViewKCM { } } - // FIXME: InlineMessage.qml:241:13: QML Label: Binding loop detected for property "verticalAlignment" header: Kirigami.InlineMessage { Layout.fillWidth: true Layout.fillHeight: true @@ -99,7 +98,7 @@ ScrollViewKCM { Connections { target: rulesModel - onSuggestionsChanged: { + function onSuggestionsChanged() { propertySheet.sheetOpen = true; } } diff --git a/kcmkwin/kwinrules/package/contents/ui/RulesList.qml b/kcmkwin/kwinrules/package/contents/ui/RulesList.qml index 976a5c2da..5489879ce 100644 --- a/kcmkwin/kwinrules/package/contents/ui/RulesList.qml +++ b/kcmkwin/kwinrules/package/contents/ui/RulesList.qml @@ -26,7 +26,7 @@ ScrollViewKCM { // Manage KCM pages Connections { target: kcm - onEditIndexChanged: { + function onEditIndexChanged() { if (kcm.editIndex < 0) { // If no rule is being edited, hide RulesEdidor page kcm.pop();