Fix the quicksettings toggling the plasma-settings

This code is weird, there is applets/quicksettings which is not even
installed, and there is copy of quicksettings in panel code.. wonder if
there's some code which is missing to be commited?

CC: mart@kde.org
This commit is contained in:
Bhushan Shah 2018-11-09 12:14:36 +05:30
parent 306512efe9
commit 176caa8f14

View file

@ -31,7 +31,7 @@ Item {
}
function addPlasmoid(applet, id) {
settingsModel.append({"icon": applet.icon, "text": applet.title, "plasmoidId": id, "enabled": false, "applet": applet})
settingsModel.append({"icon": applet.icon, "text": applet.title, "plasmoidId": id, "enabled": false, "applet": applet, "settingsCommand": ""})
}
signal plasmoidTriggered(var applet, var id)
@ -52,7 +52,7 @@ Item {
"delegate": "",
"plasmoidId": -1,
"enabled": false,
"applet": nullApplet
"applet": null
});
settingsModel.append({
@ -65,7 +65,7 @@ Item {
});
settingsModel.append({
"text": i18n("Location"),
"icon": "plasmaapplet-location",
"icon": "find-location-symbolic",
"enabled": false,
"settingsCommand": "",
"plasmoidId": -1,