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

svn at pcbsd.org svn at pcbsd.org
Sun Aug 14 10:38:23 PDT 2011


Author: kris
Date: 2011-08-14 10:38:23 -0700 (Sun, 14 Aug 2011)
New Revision: 12126

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

Fixed some compile errors



Modified: pcbsd/current/src-qt4/pc-updategui/mainWin.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-updategui/mainWin.cpp	2011-08-14 09:05:36 UTC (rev 12125)
+++ pcbsd/current/src-qt4/pc-updategui/mainWin.cpp	2011-08-14 17:38:23 UTC (rev 12126)
@@ -33,7 +33,7 @@
 
 //Check whether an update was selected to enable the button
 void mainWin::slotListClicked(){
- if(listViewUpdates.currentRow()==-1){
+ if(listViewUpdates->currentRow()==-1){
    pushInstallUpdates->setEnabled(false);
  }else{
    pushInstallUpdates->setEnabled(true);
@@ -304,7 +304,7 @@
   slotDisplayUpdates();
   qDebug() << listUpdates;
   //disable the "select all" checkbox if no updates available
-  if(listViewUpdates.count() == -1){
+  if(listViewUpdates->count() == -1){
     checkAll->setEnabled(false);
   }
   pushInstallUpdates->setEnabled(false); //disable the button until an update is selected



More information about the Commits mailing list