summaryrefslogtreecommitdiff
path: root/gui/handlers.cpp
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2021-11-25 13:45:54 +0100
committerkali kaneko (leap communications) <kali@leap.se>2021-11-29 18:14:05 +0100
commitb7b19b7195366dbacc4078b5b7a3fc6a3ad7889b (patch)
tree2b97e0167d507ddd9c1b5b0d5f0d3efbc4e6829c /gui/handlers.cpp
parenta81bf938fe2b9409d1fa0175cc5f20635bb16127 (diff)
[feat] expose snowflake in preferences
it will be disabled if Tor not present, for now
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 b1d060b..4f855ef 100644
--- a/gui/handlers.cpp
+++ b/gui/handlers.cpp
@@ -62,6 +62,11 @@ void Backend::setUDP(bool udp)
SetUDP(udp);
}
+void Backend::setSnowflake(bool snowflake)
+{
+ SetSnowflake(snowflake);
+}
+
QString Backend::getTransport()
{
return QString(GetTransport());