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

svn at pcbsd.org svn at pcbsd.org
Thu Aug 25 07:12:52 PDT 2011


Author: kris
Date: 2011-08-25 07:12:52 -0700 (Thu, 25 Aug 2011)
New Revision: 12283

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

Bold the desktop entries during installation



Modified: pcbsd/current/src-qt4/pc-sysinstaller/sys-pkgmgmt.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-sysinstaller/sys-pkgmgmt.cpp	2011-08-25 14:07:51 UTC (rev 12282)
+++ pcbsd/current/src-qt4/pc-sysinstaller/sys-pkgmgmt.cpp	2011-08-25 14:12:52 UTC (rev 12283)
@@ -42,6 +42,10 @@
 	if ( listDeskPkgs.at(z).at(0) == "KDE" )
 		deskItem->setCheckState(0, Qt::Checked);
 
+	// Is this a desktop, if so bold it
+	if ( listDeskPkgs.at(z).at(4) == "YES" )
+		deskItem->setText(0, "<b>" + listDeskPkgs.at(z).at(0) + "</b>");
+
 	if ( listDeskPkgs.at(z).at(0) == "NVIDIA" && usingNVIDIA )
 		deskItem->setCheckState(0, Qt::Checked);
     }
@@ -58,6 +62,10 @@
 	else
 		deskItem->setCheckState(0, Qt::Unchecked);
 
+	// Is this a desktop, if so bold it
+	if ( listDeskPkgs.at(z).at(4) == "YES" )
+		deskItem->setText(0, "<b>" + listDeskPkgs.at(z).at(0) + "</b>");
+
 	if ( listDeskPkgs.at(z).at(0) == "NVIDIA" && usingNVIDIA )
 		deskItem->setCheckState(0, Qt::Checked);
 



More information about the Commits mailing list