[PC-BSD Commits] r16106 - pcbsd/current/src-qt4/warden/src

svn at pcbsd.org svn at pcbsd.org
Fri Mar 30 09:17:02 PDT 2012


Author: kris
Date: 2012-03-30 16:17:02 +0000 (Fri, 30 Mar 2012)
New Revision: 16106

Modified:
   pcbsd/current/src-qt4/warden/src/dialogwarden.cpp
Log:

Add ability to launch update GUI



Modified: pcbsd/current/src-qt4/warden/src/dialogwarden.cpp
===================================================================
--- pcbsd/current/src-qt4/warden/src/dialogwarden.cpp	2012-03-30 16:12:36 UTC (rev 16105)
+++ pcbsd/current/src-qt4/warden/src/dialogwarden.cpp	2012-03-30 16:17:02 UTC (rev 16106)
@@ -1052,4 +1052,8 @@
 void dialogWarden::slotUpdate()
 {
    
+   if ( ! listJails->currentItem() )
+     return;
+   QString cmd = "pc-updategui -warden /usr/jails/" + listJails->currentItem()->text(0) + " " + listJails->currentItem()->text(0) + " &"; 
+   system(cmd.toLatin1());
 }



More information about the Commits mailing list