[kcm/kwinrules] Port to new Connections syntax
While at it remove `FIXME`comment that no longer appliesmaster
parent
9d77271011
commit
715f0dbbcc
|
@ -54,7 +54,6 @@ ScrollViewKCM {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// FIXME: InlineMessage.qml:241:13: QML Label: Binding loop detected for property "verticalAlignment"
|
|
||||||
header: Kirigami.InlineMessage {
|
header: Kirigami.InlineMessage {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
|
@ -99,7 +98,7 @@ ScrollViewKCM {
|
||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
target: rulesModel
|
target: rulesModel
|
||||||
onSuggestionsChanged: {
|
function onSuggestionsChanged() {
|
||||||
propertySheet.sheetOpen = true;
|
propertySheet.sheetOpen = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,7 @@ ScrollViewKCM {
|
||||||
// Manage KCM pages
|
// Manage KCM pages
|
||||||
Connections {
|
Connections {
|
||||||
target: kcm
|
target: kcm
|
||||||
onEditIndexChanged: {
|
function onEditIndexChanged() {
|
||||||
if (kcm.editIndex < 0) {
|
if (kcm.editIndex < 0) {
|
||||||
// If no rule is being edited, hide RulesEdidor page
|
// If no rule is being edited, hide RulesEdidor page
|
||||||
kcm.pop();
|
kcm.pop();
|
||||||
|
|
Loading…
Reference in New Issue