kill shutdown button

This commit is contained in:
Marco Martin 2020-02-05 20:43:35 +01:00
parent 9eb128d798
commit 5002023fa9
2 changed files with 0 additions and 15 deletions

View file

@ -9,10 +9,6 @@
<entry name="AppletOrder" type="String">
<label>encoded order of items</label>
</entry>
<entry name="ShowPowerButton" type="Bool">
<default>true</default>
<label>optional power button</label>
</entry>
</group>
</kcfg>

View file

@ -160,17 +160,6 @@ Item {
"settingsCommand": "",
"applet": null
});
if (plasmoid.configuration.ShowPowerButton) {
settingsModel.append({
"text": i18n("Shutdown"),
"icon": "system-shutdown-symbolic",
"enabled": false,
"settingsCommand": "",
"toggleFunction": "requestShutdown",
"plasmoidId": -1,
"applet": null
});
}
brightnessSlider.moved.connect(function() {
root.screenBrightness = brightnessSlider.value;