[PC-BSD Commits] r19817 - pcbsd/current/src-qt4/pc-updategui

svn at pcbsd.org svn at pcbsd.org
Fri Oct 19 13:24:02 PDT 2012


Author: kris
Date: 2012-10-19 20:24:02 +0000 (Fri, 19 Oct 2012)
New Revision: 19817

Modified:
   pcbsd/current/src-qt4/pc-updategui/mainWin.cpp
Log:

Hide the text "Available Updates" if none are available



Modified: pcbsd/current/src-qt4/pc-updategui/mainWin.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-updategui/mainWin.cpp	2012-10-19 20:16:10 UTC (rev 19816)
+++ pcbsd/current/src-qt4/pc-updategui/mainWin.cpp	2012-10-19 20:24:02 UTC (rev 19817)
@@ -393,10 +393,12 @@
   // Are we fully updated?
   if ( listUpdates.isEmpty() ) {
     textLabel->setText(tr("Your system is fully updated!"));
+    groupUpdates->setTitle("");
     return;
   }
 
   textLabel->setText("");
+  groupUpdates->setTitle(tr("Available Updates"));
 
   // Start parsing the updates and list whats available
   for (int z=0; z < listUpdates.count(); ++z) {



More information about the Commits mailing list