summaryrefslogtreecommitdiff
path: root/gui/handlers.cpp
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-09-25 12:23:47 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-09-25 12:23:47 +0200
commitef0d5525b7c47d03b7577035e3394b450691e92b (patch)
tree0bda2eedba66718a4dcf90be77647d1b6bc84503 /gui/handlers.cpp
parent998b5cb54ad23be1f6df0ee8abd08af5614f38db (diff)
[refactor] grab appname from providers.json
Diffstat (limited to 'gui/handlers.cpp')
-rw-r--r--gui/handlers.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/gui/handlers.cpp b/gui/handlers.cpp
index 4910aa2..f4fe10b 100644
--- a/gui/handlers.cpp
+++ b/gui/handlers.cpp
@@ -8,8 +8,6 @@
GoString toGoStr(QString s)
{
- // TODO verify that it's more correct
- // char *c = s.toLocal8Bit().data();
const char *c = s.toUtf8().constData();
return (GoString){c, (long int)strlen(c)};
}
@@ -19,11 +17,6 @@ Backend::Backend(QObject *parent) : QObject(parent)
{
}
-QString Backend::getAppName()
-{
- return QString(GetAppName());
-}
-
QString Backend::getVersion()
{
return QString(GetVersion());