summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
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();
}
}