Verified Commit c6d29bd4 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

ksplash kcm: Simplify KNS events using new signal

parent e938a250
......@@ -106,11 +106,8 @@ KCM.GridViewKCM {
text: i18n("&Get New Splash Screens...")
configFile: "ksplash.knsrc"
viewMode: NewStuff.Page.ViewMode.Preview
onChangedEntriesChanged: {
var length = newStuffButton.changedEntries.length;
if (length > 0) {
kcm.ghnsEntryChanged(newStuffButton.changedEntries[length - 1]);
}
onEntryEvent: function(entry, event) {
kcm.ghnsEntryChanged(entry);
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment