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-11-23 21:51:08 +0100
commit0efd19b935452a7b0b5561f9cba56b01ba7c627f (patch)
treef7ca08f78a76d64b0be83eef789ed6a935ca31d1 /gui/handlers.cpp
parentbe36ce80cac534afda4393fc6bd904d489b63361 (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());