summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-10-09 22:09:33 +0200
committerRuben Pollan <meskio@sindominio.net>2020-10-13 19:08:57 +0200
commitaabd6d00acd34273902929bd02dbae47f10a96cc (patch)
tree6c6f3d09137691ff3c04177bc7707784ae03e467 /gui
parentf8c05f3dee29c7ab1eb3eba82c917fe18333fc41 (diff)
[pkg] fix application name
Diffstat (limited to 'gui')
-rw-r--r--gui/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/main.cpp b/gui/main.cpp
index 893cb4d..42153a7 100644
--- a/gui/main.cpp
+++ b/gui/main.cpp
@@ -41,7 +41,7 @@ void signalHandler(int) {
QString getAppName(QJsonValue info, QString provider) {
for (auto p: info.toArray()) {
QJsonObject item = p.toObject();
- if (item["name"] == provider) {
+ if (item["name"].toString().toLower() == provider.toLower()) {
return item["applicationName"].toString();
}
}