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;