[PC-BSD Commits] r9851 - pcbsd/current/src-qt4/pc-sysmanager

svn at pcbsd.org svn at pcbsd.org
Thu Mar 31 10:42:04 PDT 2011


Author: kris
Date: 2011-03-31 10:42:04 -0700 (Thu, 31 Mar 2011)
New Revision: 9851

Modified:
   pcbsd/current/src-qt4/pc-sysmanager/pbsystemtab.cpp
Log:


Opps, fixed quick bug reading meta-pkg status


Modified: pcbsd/current/src-qt4/pc-sysmanager/pbsystemtab.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-sysmanager/pbsystemtab.cpp	2011-03-31 17:39:35 UTC (rev 9850)
+++ pcbsd/current/src-qt4/pc-sysmanager/pbsystemtab.cpp	2011-03-31 17:42:04 UTC (rev 9851)
@@ -698,12 +698,10 @@
      QCoreApplication::processEvents();
   }
 
-  if (pcmp.waitForFinished()) {
-    while (pcmp.canReadLine()) {
-        tmp = pcmp.readLine().simplified();
-	if ( tmp.indexOf("is installed") != -1 || tmp.indexOf("partially installed") != -1)
-		return true;
-    }
+  while (pcmp.canReadLine()) {
+     tmp = pcmp.readLine().simplified();
+     if ( tmp.indexOf("is installed") != -1 || tmp.indexOf("partially installed") != -1)
+     return true;
   }
 
   return false;



More information about the Commits mailing list