kwinrules: Change singal name to better match its meaning

This commit is contained in:
Ismael Asensio 2020-10-27 22:27:43 +01:00
parent 335eca223a
commit d9528a5d1d
3 changed files with 4 additions and 4 deletions

View file

@ -94,7 +94,6 @@ ScrollViewKCM {
text: i18n("Detect Window Properties")
icon.name: "edit-find"
onClicked: {
overlayModel.onlySuggestions = true;
rulesModel.detectWindowProperties(delaySpin.value);
}
}
@ -113,7 +112,8 @@ ScrollViewKCM {
Connections {
target: rulesModel
function onSuggestionsChanged() {
function onShowSuggestions() {
overlayModel.onlySuggestions = true;
propertySheet.sheetOpen = true;
}
}

View file

@ -833,7 +833,7 @@ void RulesModel::selectX11Window()
}
const QVariantMap windowInfo = reply.value();
setSuggestedProperties(windowInfo);
emit suggestionsChanged();
emit showSuggestions();
}
);
}

View file

@ -83,7 +83,7 @@ public slots:
signals:
void descriptionChanged();
void warningMessageChanged();
void suggestionsChanged();
void showSuggestions();
void virtualDesktopsUpdated();