summaryrefslogtreecommitdiff
path: root/gui/qml/VPNSwitch.qml
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-07-09 20:29:45 +0200
committerkali kaneko (leap communications) <kali@leap.se>2021-07-12 19:47:49 +0200
commit26092db4ca2ad9972c5c275d1fcfb262ac7573ac (patch)
treea9b64d3b3c95f024ab27afbceebe1496615d1036 /gui/qml/VPNSwitch.qml
parent0d1d4116eb283a684b93bd432cb1f3b8331b2d4d (diff)
[ui] give feedback about gateway selection
-Resolves: #524
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