summaryrefslogtreecommitdiff
path: root/gui/handlers.cpp
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-09-02 23:47:05 +0200
committerkali kaneko (leap communications) <kali@leap.se>2021-05-04 14:58:39 +0200
commit4bd6bbd788454367cc89d78543312f333051b840 (patch)
tree6a3d01bf804ea4bd841c013dbe96ffe3df29323a /gui/handlers.cpp
parent335bb742b957370bbf40ae77a661559805ab307f (diff)
[feat] expose gateway selector in gui
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 8f0e0d0..370c67c 100644
--- a/gui/handlers.cpp
+++ b/gui/handlers.cpp
@@ -42,6 +42,11 @@ void Backend::donateSeen()
DonateSeen();
}
+void Backend::useGateway(QString label)
+{
+ UseGateway(toGoStr(label));
+}
+
void Backend::login(QString username, QString password)
{
Login(toGoStr(username), toGoStr(password));