summaryrefslogtreecommitdiff
path: root/gui/handlers.cpp
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-09-24 20:58:30 +0200
committerkali kaneko (leap communications) <kali@leap.se>2021-10-06 18:38:22 +0200
commit3234cdbd265a75182df1614c125707149d6c8e0b (patch)
tree9ab17b2a7bc80d670b4cb2c0be32676caa6b0bf5 /gui/handlers.cpp
parent0dda8bd96dab66edd0a922d219a10431247f41ff (diff)
[feat] persist obfs4 & udp prefs
Diffstat (limited to 'gui/handlers.cpp')
-rw-r--r--gui/handlers.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/gui/handlers.cpp b/gui/handlers.cpp
index 29fecf1..b1d060b 100644
--- a/gui/handlers.cpp
+++ b/gui/handlers.cpp
@@ -57,6 +57,11 @@ void Backend::setTransport(QString transport)
SetTransport(toGoStr(transport));
}
+void Backend::setUDP(bool udp)
+{
+ SetUDP(udp);
+}
+
QString Backend::getTransport()
{
return QString(GetTransport());