[kcm/kwinrules] Port to new Connections syntax

While at it remove `FIXME`comment that no longer applies
master
Ismael Asensio 2020-10-03 00:01:41 +02:00 committed by Aleix Pol Gonzalez
parent 9d77271011
commit 715f0dbbcc
2 changed files with 2 additions and 3 deletions

View File

@ -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;
}
}

View File

@ -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();