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

svn at pcbsd.org svn at pcbsd.org
Tue Oct 12 07:58:15 PDT 2010


Author: kris
Date: 2010-10-12 07:58:15 -0700 (Tue, 12 Oct 2010)
New Revision: 7777

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

Small fix to logic for treewidget system packages



Modified: pcbsd/current/src-qt4/pc-sysinstaller/sys-pkgmgmt.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-sysinstaller/sys-pkgmgmt.cpp	2010-10-12 14:51:15 UTC (rev 7776)
+++ pcbsd/current/src-qt4/pc-sysinstaller/sys-pkgmgmt.cpp	2010-10-12 14:58:15 UTC (rev 7777)
@@ -66,9 +66,7 @@
 			else
 				aItem->parent()->setCheckState(0, Qt::PartiallyChecked);	
 		if (aItem->checkState(0) == Qt::Unchecked && aItem->parent() )
-			if ( allChildrenPkgsUnchecked(aItem->parent()->text(0)))
-				aItem->parent()->setCheckState(0, Qt::Unchecked);	
-			else
+			if ( ! allChildrenPkgsUnchecked(aItem->parent()->text(0)))
 				aItem->parent()->setCheckState(0, Qt::PartiallyChecked);	
 
 



More information about the Commits mailing list