27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
From 2b7d3c4bc5b126111fec6b3ff3046b16541329a6 Mon Sep 17 00:00:00 2001
|
|
From: Kai Uwe Broulik <kde@privat.broulik.de>
|
|
Date: Mon, 27 Apr 2015 23:23:48 +0200
|
|
Subject: [PATCH 06/12] Fix running applet calculation
|
|
|
|
We get an int rather than a bool :)
|
|
---
|
|
components/shellprivate/widgetexplorer/plasmaappletitemmodel.cpp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/components/shellprivate/widgetexplorer/plasmaappletitemmodel.cpp b/components/shellprivate/widgetexplorer/plasmaappletitemmodel.cpp
|
|
index 376dd4c0d35082197c409aa5f041e871ad79ac79..99e9add0fd06b415e23c96ce8773ca8b639cd195 100644
|
|
--- a/components/shellprivate/widgetexplorer/plasmaappletitemmodel.cpp
|
|
+++ b/components/shellprivate/widgetexplorer/plasmaappletitemmodel.cpp
|
|
@@ -277,7 +277,7 @@ void PlasmaAppletItemModel::setRunningApplets(const QHash<QString, int> &apps)
|
|
PlasmaAppletItem *p = dynamic_cast<PlasmaAppletItem *>(i);
|
|
|
|
if (p) {
|
|
- const bool running = apps.value(p->pluginName());
|
|
+ const int running = apps.value(p->pluginName());
|
|
p->setRunning(running);
|
|
}
|
|
}
|
|
--
|
|
2.3.5
|
|
|