[PC-BSD Commits] r1995 - pcbsd-projects/warden/src

svn at pcbsd.org svn at pcbsd.org
Thu May 29 16:15:04 PDT 2008


Author: kris
Date: 2008-05-29 16:15:04 -0700 (Thu, 29 May 2008)
New Revision: 1995

Modified:
   pcbsd-projects/warden/src/dialogconfig.ui.h
Log:

Fixed save settings to use writeEntry properly



Modified: pcbsd-projects/warden/src/dialogconfig.ui.h
===================================================================
--- pcbsd-projects/warden/src/dialogconfig.ui.h	2008-05-29 22:29:18 UTC (rev 1994)
+++ pcbsd-projects/warden/src/dialogconfig.ui.h	2008-05-29 23:15:04 UTC (rev 1995)
@@ -63,9 +63,9 @@
 {
     QSettings settings;
     
-    NIC = settings.readEntry( "/PC-BSD/TheWarden/NIC", "UNSET" );
-    TMPDIR = settings.readEntry( "/PC-BSD/TheWarden/TMPDIR", "UNSET" );
-    JailDir = settings.readEntry( "/PC-BSD/TheWarden/JailDir", "UNSET" );  
+    settings.writeEntry( "/PC-BSD/TheWarden/NIC", lineNIC->text());
+    settings.writeEntry( "/PC-BSD/TheWarden/TMPDIR", lineTMPDIR->text() );
+    settings.writeEntry( "/PC-BSD/TheWarden/JailDir", lineJailDir->text() );
     
     
     emit saved();



More information about the Commits mailing list