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

svn at pcbsd.org svn at pcbsd.org
Wed Mar 21 19:05:04 PDT 2012


Author: kris
Date: 2012-03-22 02:05:04 +0000 (Thu, 22 Mar 2012)
New Revision: 15901

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

When adding / removing a jail, be sure to delete the metaWidget first



Modified: pcbsd/current/src-qt4/warden/src/dialogwarden.cpp
===================================================================
--- pcbsd/current/src-qt4/warden/src/dialogwarden.cpp	2012-03-21 23:39:30 UTC (rev 15900)
+++ pcbsd/current/src-qt4/warden/src/dialogwarden.cpp	2012-03-22 02:05:04 UTC (rev 15901)
@@ -76,6 +76,9 @@
 void dialogWarden::refreshJails()
 {
    QString AutoStart;
+ 
+   if ( widgetPackages->layout() )
+     delete widgetPackages->layout();
     
    listJails->clear();
    



More information about the Commits mailing list