[PC-BSD Commits] r19514 - pcbsd/current/src-qt4/pc-softwaremanager
svn at pcbsd.org
svn at pcbsd.org
Tue Sep 25 08:20:11 PDT 2012
Author: kris
Date: 2012-09-25 15:20:11 +0000 (Tue, 25 Sep 2012)
New Revision: 19514
Modified:
pcbsd/current/src-qt4/pc-softwaremanager/softmanager-pbiupdate.cpp
Log:
Opps, don't keep disabling Update All Button
Modified: pcbsd/current/src-qt4/pc-softwaremanager/softmanager-pbiupdate.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-softwaremanager/softmanager-pbiupdate.cpp 2012-09-25 15:19:28 UTC (rev 19513)
+++ pcbsd/current/src-qt4/pc-softwaremanager/softmanager-pbiupdate.cpp 2012-09-25 15:20:11 UTC (rev 19514)
@@ -13,12 +13,12 @@
void PBM::slotStartPBIUpdateCheck()
{
-
if ( pbistatus == PBI_CHECKING4UPDATES || pbistatus == PBI_UPDATING )
- {
return;
- }
+ // No updates yet, disable the button
+ pushUpdateAll->setEnabled(false);
+
// Set our Iterator, and start checking our list for updates!
currentCheckingPBI = new QTreeWidgetItemIterator(SoftwareListBox);
pbistatus = PBI_CHECKING4UPDATES;
@@ -30,9 +30,6 @@
// Start checking our list of PBIs which may be updatable
void PBM::slotPBICheckUpdate()
{
- // No updates yet, disable the button
- pushUpdateAll->setEnabled(false);
-
// Need to loop through iterator here, and test each PBI for updates
// and if it is, check for update, then continue on to next currentCheckingPBI++ until we
// are at the end of the list
More information about the Commits
mailing list