32 lines
1.1 KiB
Diff
32 lines
1.1 KiB
Diff
From b169753ce33bff5a4f8d0983226fec7790df85d8 Mon Sep 17 00:00:00 2001
|
|
From: Martin Klapetek <mklapetek@kde.org>
|
|
Date: Tue, 10 Mar 2015 18:31:50 +0100
|
|
Subject: [PATCH 09/12] [libtaskmanager] Use the icon loaded from config file
|
|
for launchers
|
|
|
|
This fixes launchers without .desktop files to not have icons in some
|
|
cases. The patch makes sure the icon that is read from the config file
|
|
is actually used for the launcher.
|
|
|
|
Reviewed-by: Eike Hein
|
|
---
|
|
libtaskmanager/groupmanager.cpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/libtaskmanager/groupmanager.cpp b/libtaskmanager/groupmanager.cpp
|
|
index afac827f82bf498d2bf6acab8b340da9677c2f27..05e59ae64cce7ab4ff6b5090764e5df951af0dcd 100644
|
|
--- a/libtaskmanager/groupmanager.cpp
|
|
+++ b/libtaskmanager/groupmanager.cpp
|
|
@@ -1068,7 +1068,7 @@ void GroupManager::setLauncherList(QList<QUrl> launcherList)
|
|
|
|
l.setQuery(QUrlQuery());
|
|
|
|
- if (addLauncher(l, QIcon(), name, genericName, wmClass)) {
|
|
+ if (addLauncher(l, icon, name, genericName, wmClass)) {
|
|
urls << l;
|
|
}
|
|
}
|
|
--
|
|
2.3.1
|
|
|