From 26092db4ca2ad9972c5c275d1fcfb262ac7573ac Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Fri, 9 Jul 2021 20:29:45 +0200 Subject: [ui] give feedback about gateway selection -Resolves: #524 --- gui/qml/VPNSwitch.qml | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'gui/qml/VPNSwitch.qml') 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 -- cgit v1.2.3