[PC-BSD Commits] r19981 - pcbsd/branches/9.1/src-qt4/pc-softwaremanager

svn at pcbsd.org svn at pcbsd.org
Fri Oct 26 10:21:30 PDT 2012


Author: kris
Date: 2012-10-26 17:21:30 +0000 (Fri, 26 Oct 2012)
New Revision: 19981

Modified:
   pcbsd/branches/9.1/src-qt4/pc-softwaremanager/softmanager-main.cpp
   pcbsd/branches/9.1/src-qt4/pc-softwaremanager/softmanager-pbibrowser.cpp
Log:

MFC fixes to load AppCafe as root



Modified: pcbsd/branches/9.1/src-qt4/pc-softwaremanager/softmanager-main.cpp
===================================================================
--- pcbsd/branches/9.1/src-qt4/pc-softwaremanager/softmanager-main.cpp	2012-10-26 17:20:28 UTC (rev 19980)
+++ pcbsd/branches/9.1/src-qt4/pc-softwaremanager/softmanager-main.cpp	2012-10-26 17:21:30 UTC (rev 19981)
@@ -526,7 +526,7 @@
     loadPBIs->waitForFinished(-1);
     repoID="-1";
 
-    qDebug("Reading PBI List");
+    //qDebug("Reading PBI List");
     while ( loadPBIs->canReadLine() ) {
        	line = loadPBIs->readLine().simplified(); // line of text excluding '\n'
 	
@@ -590,7 +590,7 @@
 		item->setAutoUpdateStatus(true);
 	     else
 		item->setAutoUpdateStatus(false);
-             qDebug() << "Updating PBI:" << name;
+             //qDebug() << "Updating PBI:" << name;
            } else {
              // New PBI! Add it to our list
              pbi = new PBI(defaultIcon.scaled(40,40));

Modified: pcbsd/branches/9.1/src-qt4/pc-softwaremanager/softmanager-pbibrowser.cpp
===================================================================
--- pcbsd/branches/9.1/src-qt4/pc-softwaremanager/softmanager-pbibrowser.cpp	2012-10-26 17:20:28 UTC (rev 19980)
+++ pcbsd/branches/9.1/src-qt4/pc-softwaremanager/softmanager-pbibrowser.cpp	2012-10-26 17:21:30 UTC (rev 19981)
@@ -553,7 +553,7 @@
 	setEnabled(false);
 
 	loadRepos();
-    loadTranslations();
+        loadTranslations();
 	loadCategories();
 	loadAvailPBIs();
 
@@ -862,7 +862,6 @@
 			desc = getTranslation(pbiRepos->getID(i), "Cat", name, desc);
 
 			pbiCats->addCat(name, desc, icon, pbiRepos->getID(i));
-			QCoreApplication::processEvents();
 		}
 
 	}
@@ -881,7 +880,7 @@
         else
 	  rpocmd.start(QString("warden"), QStringList() << "chroot" << wardenIP << "pbi_listrepo" );
 
-	while ( rpocmd.state() != QProcess::NotRunning ) {
+	while ( rpocmd.state() != QProcess::NotRunning) {
 		rpocmd.waitForFinished(50);
 		QCoreApplication::processEvents();
 	}
@@ -1120,7 +1119,6 @@
 
 	QProcess pbicmd;
 	setEnabled(false);
-	QCoreApplication::processEvents();
         QString sCmd;
 
         if (wardenDir.isEmpty() ) {



More information about the Commits mailing list