[PC-BSD Commits] r12300 - pcbsd/current/src-qt4/pc-pfmanager

svn at pcbsd.org svn at pcbsd.org
Thu Aug 25 10:10:36 PDT 2011


Author: kris
Date: 2011-08-25 10:10:35 -0700 (Thu, 25 Aug 2011)
New Revision: 12300

Modified:
   pcbsd/current/src-qt4/pc-pfmanager/pfmanagerdlg.cpp
Log:

Give some status as to if a restart worked or not



Modified: pcbsd/current/src-qt4/pc-pfmanager/pfmanagerdlg.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-pfmanager/pfmanagerdlg.cpp	2011-08-25 17:05:44 UTC (rev 12299)
+++ pcbsd/current/src-qt4/pc-pfmanager/pfmanagerdlg.cpp	2011-08-25 17:10:35 UTC (rev 12300)
@@ -57,6 +57,10 @@
 {
     _firewall.restart();
     refreshStatus();
+    if (_firewall.isRunning())
+      QMessageBox::information(this, tr("Success"), tr("Restarted successfuly!"));
+    else
+      QMessageBox::warning(this, tr("Failure"), tr("Failed to restart!"));
 }
 
 // WARNING: Make sure you only store TaggedListViewItem



More information about the Commits mailing list