summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-13 00:54:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-13 00:54:47 +0000
commitfb164a2de2d14ca4f24eb7a3c164b88bb53a660a (patch)
treec229cf1124ca21ba58420385a42f3f63c1083315
parent1259472bc05d02cd7f407dd07bf79494b3a221a2 (diff)
downloadkpowersave-fb164a2de2d14ca4f24eb7a3c164b88bb53a660a.tar.gz
kpowersave-fb164a2de2d14ca4f24eb7a3c164b88bb53a660a.zip
Fix gcc 4.5 FTBFS
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpowersave@1224635 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r--src/inactivity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inactivity.cpp b/src/inactivity.cpp
index e432fb7..5c808b7 100644
--- a/src/inactivity.cpp
+++ b/src/inactivity.cpp
@@ -325,7 +325,7 @@ void inactivity::getPIDs(KProcess */*proc*/, char *buffer, int /*lenght*/) {
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;