[PC-BSD Commits] r8033 - pcbsd/current/src-qt4/pc-sysinstaller

svn at pcbsd.org svn at pcbsd.org
Tue Nov 16 05:48:02 PST 2010


Author: kris
Date: 2010-11-16 05:48:02 -0800 (Tue, 16 Nov 2010)
New Revision: 8033

Modified:
   pcbsd/current/src-qt4/pc-sysinstaller/sys-pkgmgmt.cpp
Log:

Still let us install if a desktop is partially checked, with optional components unchecked



Modified: pcbsd/current/src-qt4/pc-sysinstaller/sys-pkgmgmt.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-sysinstaller/sys-pkgmgmt.cpp	2010-11-16 13:19:18 UTC (rev 8032)
+++ pcbsd/current/src-qt4/pc-sysinstaller/sys-pkgmgmt.cpp	2010-11-16 13:48:02 UTC (rev 8033)
@@ -86,7 +86,7 @@
 {
         QTreeWidgetItemIterator it(treeWidgetDesktopPackages);
         while (*it) {
-         if ((*it)->checkState(0) == Qt::Checked )
+         if ((*it)->checkState(0) == Qt::Checked || (*it)->checkState(0) == Qt::PartiallyChecked )
 	   for (int z=0; z < listDeskPkgs.count(); ++z)
 	     if ( (*it)->text(0) == listDeskPkgs.at(z).at(0) && listDeskPkgs.at(z).at(4) == "YES" )
 		return true;



More information about the Commits mailing list