trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2011

Constructor Problem - kpowersave src/inactivity.cpp

From: "David C. Rankin" <drankinatty@...>
Date: Sat, 12 Mar 2011 18:47:10 -0600
Tim, Serghei,

I found another constructor problem in kpowersave. Here is a patch:

--- 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;

Builds fine afterwards:

trinity-app-kpowersave-1215405-1-i686.pkg.tar.xz

-- 
David C. Rankin, J.D.,P.E.