summaryrefslogtreecommitdiff
path: root/gui/qml/VPNSwitch.qml
diff options
context:
space:
mode:
Diffstat (limited to 'gui/qml/VPNSwitch.qml')
-rw-r--r--gui/qml/VPNSwitch.qml17
1 files changed, 0 insertions, 17 deletions
diff --git a/gui/qml/VPNSwitch.qml b/gui/qml/VPNSwitch.qml
index 14b3734..89c455f 100644
--- a/gui/qml/VPNSwitch.qml
+++ b/gui/qml/VPNSwitch.qml
@@ -5,27 +5,10 @@ import QtQuick.Controls 2.4
SwitchDelegate {
- //id: vpntoggle
-
text: qsTr("")
checked: false
anchors.horizontalCenter: parent.horizontalCenter
- /*
- Connections {
- function onCheckedChanged() {
- if (vpntoggle.checked == true
- && ctx.status == "off") {
- backend.switchOn()
- }
- if (vpntoggle.checked === false
- && ctx.status == "on") {
- backend.switchOff()
- }
- }
- }
- */
-
contentItem: Text {
rightPadding: vpntoggle.indicator.width + vpntoggle.spacing
text: vpntoggle.text