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

svn at pcbsd.org svn at pcbsd.org
Mon Nov 7 05:48:32 PST 2011


Author: kris
Date: 2011-11-07 05:48:32 -0800 (Mon, 07 Nov 2011)
New Revision: 13713

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

Fix bug to not close appcafe when user clicks NO




Modified: pcbsd/current/src-qt4/pc-softwaremanager/softmanager-main.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-softwaremanager/softmanager-main.cpp	2011-11-07 13:47:41 UTC (rev 13712)
+++ pcbsd/current/src-qt4/pc-softwaremanager/softmanager-main.cpp	2011-11-07 13:48:32 UTC (rev 13713)
@@ -160,7 +160,7 @@
   // If we are already working on a PBI, lets confirm the user wants to exit
   if ( isWorkingOnPBI ) {
      QString message = tr("You currently have PBIs downloading! Exit anyway?");
-     if (QMessageBox::question(this, tr("Confirm"), message, QMessageBox::Yes | QMessageBox::No, QMessageBox::No ) == QMessageBox::No)
+     if ( (QMessageBox::question(this, tr("Confirm"), message, QMessageBox::Yes | QMessageBox::No, QMessageBox::No ) ) == QMessageBox::No)
      {
         return false;
      } else {



More information about the Commits mailing list