[PC-BSD Commits] r16424 - pcbsd/current/src-qt4/pc-softwaremanager

svn at pcbsd.org svn at pcbsd.org
Sun Apr 15 15:46:51 PDT 2012


Author: kris
Date: 2012-04-15 22:46:51 +0000 (Sun, 15 Apr 2012)
New Revision: 16424

Modified:
   pcbsd/current/src-qt4/pc-softwaremanager/dialogPreferences.cpp
Log:

Hide the menu icon option, pbi_add auto creates this, but desktop icons
can still be disabled. if this functionality changes in pbi_add down the
road we can re-enable easily. 



Modified: pcbsd/current/src-qt4/pc-softwaremanager/dialogPreferences.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-softwaremanager/dialogPreferences.cpp	2012-04-15 22:34:12 UTC (rev 16423)
+++ pcbsd/current/src-qt4/pc-softwaremanager/dialogPreferences.cpp	2012-04-15 22:46:51 UTC (rev 16424)
@@ -26,6 +26,11 @@
   QSettings settings("PCBSD", "AppCafe");
   checkMenuIcon->setChecked(settings.value("menuIcons", true).toBool());
   checkDesktopIcon->setChecked(settings.value("deskIcons", true).toBool());
+
+  // We can hide this for now, pbi_add auto creates menu icons
+  // If this ever changes we can re-enable
+  checkMenuIcon->setEnabled(false);
+  checkMenuIcon->setVisible(false);
 }
 
 void dialogPreferences::slotCancelClicked()



More information about the Commits mailing list