summaryrefslogtreecommitdiffstats
path: root/arch/3.5.13/trinity-extras/trinity-kpowersave/kpowersave-inactivity.cpp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'arch/3.5.13/trinity-extras/trinity-kpowersave/kpowersave-inactivity.cpp.patch')
-rw-r--r--arch/3.5.13/trinity-extras/trinity-kpowersave/kpowersave-inactivity.cpp.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/3.5.13/trinity-extras/trinity-kpowersave/kpowersave-inactivity.cpp.patch b/arch/3.5.13/trinity-extras/trinity-kpowersave/kpowersave-inactivity.cpp.patch
new file mode 100644
index 000000000..08645af32
--- /dev/null
+++ b/arch/3.5.13/trinity-extras/trinity-kpowersave/kpowersave-inactivity.cpp.patch
@@ -0,0 +1,11 @@
+--- kpowersave/src/inactivity.cpp
++++ kpowersave/src/inactivity.cpp 2011-03-12 18:40:52.000000000 -0600
+@@ -325,7 +325,7 @@
+ blacklisted_running = false;
+ }
+ else {
+- if (pids.contains(QRegExp::QRegExp("[0-9]"))) {
++ if (pids.contains(QRegExp("[0-9]"))) {
+ kdDebug() << "BLACKLISTED IS RUNNING" << endl;
+ blacklisted_running = true;
+ blacklisted_running_last = idleTime;