summaryrefslogtreecommitdiff
path: root/gui/components
diff options
context:
space:
mode:
Diffstat (limited to 'gui/components')
-rw-r--r--gui/components/MainView.qml3
-rw-r--r--gui/components/Systray.qml3
2 files changed, 0 insertions, 6 deletions
diff --git a/gui/components/MainView.qml b/gui/components/MainView.qml
index 25a388c..946e36f 100644
--- a/gui/components/MainView.qml
+++ b/gui/components/MainView.qml
@@ -77,9 +77,6 @@ Page {
text: qsTr("Quit")
icon: "../resources/quit.svg"
triggered: function() {
- if (ctx.status == "on") {
- backend.switchOff()
- }
Qt.callLater(backend.quit)
}
}
diff --git a/gui/components/Systray.qml b/gui/components/Systray.qml
index 51f3148..1026f01 100644
--- a/gui/components/Systray.qml
+++ b/gui/components/Systray.qml
@@ -56,9 +56,6 @@ Labs.SystemTrayIcon {
//: Part of the systray menu; quits the application
text: qsTr("Quit")
onTriggered: {
- if (ctx.status == "on") {
- backend.switchOff()
- }
backend.quit()
}
}