summaryrefslogtreecommitdiff
path: root/gui/qml/VpnState.qml
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-04-27 16:02:42 +0200
committerkali kaneko (leap communications) <kali@leap.se>2021-05-04 14:58:39 +0200
commit0bf00f54b4478192d976c06af07f8183a8052233 (patch)
treec176ebac7f0fd92dbbe802a566d1bfd2bc37a048 /gui/qml/VpnState.qml
parenta7b197e623aa3412a9acaa6c0e7b4ca27cd706b6 (diff)
[bug] fix init crash
Diffstat (limited to 'gui/qml/VpnState.qml')
-rw-r--r--gui/qml/VpnState.qml42
1 files changed, 21 insertions, 21 deletions
diff --git a/gui/qml/VpnState.qml b/gui/qml/VpnState.qml
index 7ec6695..e1a183c 100644
--- a/gui/qml/VpnState.qml
+++ b/gui/qml/VpnState.qml
@@ -1,5 +1,5 @@
import QtQuick 2.0
-import QtQuick.Controls 1.4
+import QtQuick.Controls 2.12
StateGroup {
@@ -26,7 +26,7 @@ StateGroup {
}
PropertyChanges {
target: autoSelectionItem
- text: qsTr("Best")
+ text: qsTr("Best")
}
PropertyChanges {
target: mainStatus
@@ -54,14 +54,14 @@ StateGroup {
}
PropertyChanges {
target: autoSelectionItem
- text: {
- if (autoSelectionButton.checked) {
- //: %1 -> location to which the client is connected to
- qsTr("Best (%1)").arg(locationStr())
- } else {
- qsTr("Best")
- }
- }
+ text: {
+ if (autoSelectionButton.checked) {
+ //: %1 -> location to which the client is connected to
+ qsTr("Best (%1)").arg(locationStr())
+ } else {
+ qsTr("Best")
+ }
+ }
}
PropertyChanges {
target: mainStatus
@@ -69,7 +69,7 @@ StateGroup {
}
PropertyChanges {
target: mainCurrentGateway
- //: %1 -> location to which the client is connected to
+ //: %1 -> location to which the client is connected to
text: qsTr("Connected to %1").arg(locationStr())
}
},
@@ -86,14 +86,14 @@ StateGroup {
}
PropertyChanges {
target: autoSelectionItem
- text: {
- if (autoSelectionButton.checked) {
- //: %1 -> location to which the client is connected to
- qsTr("Best (%1)").arg(locationStr())
- } else {
- qsTr("Best")
- }
- }
+ text: {
+ if (autoSelectionButton.checked) {
+ //: %1 -> location to which the client is connected to
+ qsTr("Best (%1)").arg(locationStr())
+ } else {
+ qsTr("Best")
+ }
+ }
}
PropertyChanges {
target: mainStatus
@@ -117,7 +117,7 @@ StateGroup {
}
PropertyChanges {
target: autoSelectionItem
- text: qsTr("Best")
+ text: qsTr("Best")
}
PropertyChanges {
target: mainStatus
@@ -141,7 +141,7 @@ StateGroup {
}
PropertyChanges {
target: autoSelectionItem
- text: qsTr("Best")
+ text: qsTr("Best")
}
PropertyChanges {
target: mainStatus