summaryrefslogtreecommitdiff
path: root/gui/qml/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'gui/qml/main.qml')
-rw-r--r--gui/qml/main.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/gui/qml/main.qml b/gui/qml/main.qml
index f75a121..cef3344 100644
--- a/gui/qml/main.qml
+++ b/gui/qml/main.qml
@@ -507,6 +507,14 @@ ApplicationWindow {
return ctx.currentLocation + ", " + ctx.currentCountry
}
+ function useBridges(value) {
+ if (value==true) {
+ backend.setTransport("obfs4")
+ } else {
+ backend.setTransport("openvpn")
+ }
+ }
+
property alias brReconnect:bridgesTab.displayReconnect
}