From 176caa8f149866d62da534eee3438b777cfda716 Mon Sep 17 00:00:00 2001 From: Bhushan Shah Date: Fri, 9 Nov 2018 12:14:36 +0530 Subject: [PATCH] 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 --- .../package/contents/ui/quicksettings/QuickSettings.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/containments/panel/package/contents/ui/quicksettings/QuickSettings.qml b/containments/panel/package/contents/ui/quicksettings/QuickSettings.qml index 701db00a..a4f5359b 100644 --- a/containments/panel/package/contents/ui/quicksettings/QuickSettings.qml +++ b/containments/panel/package/contents/ui/quicksettings/QuickSettings.qml @@ -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,