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

svn at pcbsd.org svn at pcbsd.org
Fri Oct 21 06:43:14 PDT 2011


Author: kenmoore
Date: 2011-10-21 06:43:14 -0700 (Fri, 21 Oct 2011)
New Revision: 13465

Modified:
   pcbsd/current/src-qt4/pc-sysmanager/pbsystemtab.cpp
Log:
Fix a bug where a single meta-desktop without all additional packages was not considered a meta-desktop for sanity checking


Modified: pcbsd/current/src-qt4/pc-sysmanager/pbsystemtab.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-sysmanager/pbsystemtab.cpp	2011-10-21 09:08:43 UTC (rev 13464)
+++ pcbsd/current/src-qt4/pc-sysmanager/pbsystemtab.cpp	2011-10-21 13:43:14 UTC (rev 13465)
@@ -934,7 +934,7 @@
 {
         QTreeWidgetItemIterator it(treeMetaPkgs);
         while (*it) {
-         if ((*it)->checkState(0) == Qt::Checked )
+         if ( ((*it)->checkState(0) == Qt::Checked) || ((*it)->checkState(0) == Qt::PartiallyChecked) )
 	   for (int z=0; z < metaPkgList.count(); ++z)
 	     if ( (*it)->text(0) == metaPkgList.at(z).at(0) && metaPkgList.at(z).at(4) == "YES" )
 		return true;



More information about the Commits mailing list