summaryrefslogtreecommitdiff
path: root/gui/qml/VpnState.qml
diff options
context:
space:
mode:
Diffstat (limited to 'gui/qml/VpnState.qml')
-rw-r--r--gui/qml/VpnState.qml13
1 files changed, 6 insertions, 7 deletions
diff --git a/gui/qml/VpnState.qml b/gui/qml/VpnState.qml
index a4bb779..31910c7 100644
--- a/gui/qml/VpnState.qml
+++ b/gui/qml/VpnState.qml
@@ -14,7 +14,7 @@ StateGroup {
State {
name: "off"
StateChangeScript {
- script: Logic.setStatus("off");
+ script: Logic.setStatus("off")
}
PropertyChanges {
target: systray
@@ -47,16 +47,15 @@ StateGroup {
name: "on"
StateChangeScript {
script: {
- Logic.setNeedsReconnect(false);
- brReconnect = false;
+ Logic.setNeedsReconnect(false)
+ brReconnect = false
if (needsDonate && !shownDonate) {
- donate.visible = true;
- shownDonate = true;
- backend.donateSeen();
+ donate.visible = true
+ shownDonate = true
+ backend.donateSeen()
}
}
-
}
PropertyChanges {
target: systray