From 1a016c92d2798e38b25c695b092460fd8bc06e95 Mon Sep 17 00:00:00 2001 From: Eike Hein Date: Sat, 25 Jun 2016 17:50:25 +0900 Subject: [PATCH] Fix the hack for kcmshell. --- libtaskmanager/xwindowtasksmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libtaskmanager/xwindowtasksmodel.cpp b/libtaskmanager/xwindowtasksmodel.cpp index 8c253de2c..2ffcde6c6 100644 --- a/libtaskmanager/xwindowtasksmodel.cpp +++ b/libtaskmanager/xwindowtasksmodel.cpp @@ -475,7 +475,7 @@ QUrl XWindowTasksModel::Private::windowUrl(WId window) // interested in the actual control module. Therefore we obtain this via the commandline. This commandline may contain // "kdeinit4:" or "[kdeinit]", so we remove these first. // FIXME This looks like ancient old crap we can do better now. - if ("Kcmshell5" == classClass) { + if (classClass == "kcmshell5") { url = serviceUrl(pid, QStringLiteral("KCModule"), QStringList() << QStringLiteral("kdeinit5:") << QStringLiteral("[kdeinit]")); if (!url.isEmpty()) {