[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/kdecore
From:       Waldo Bastian <bastian () kde ! org>
Date:       2003-03-31 22:25:04
[Download RAW message or body]

CVS commit by waba: 

Don't mess with config group


  M +6 -4      kapplication.cpp   1.578


--- kdelibs/kdecore/kapplication.cpp  #1.577:1.578
@@ -674,7 +674,9 @@ void KApplication::init(bool GUIenabled)
   d->actionRestrictions = config->hasGroup("KDE Action Restrictions" );
   // For brain-dead configurations where the user's local config file is not writable.
-  config->setGroup("KDE Action Restrictions");
+  {
+    KConfigGroupSaver saver(config, "KDE Action Restrictions");
   if (config->readBoolEntry("warn_unwritable_config",TRUE))
     config->checkConfigFilesWritable(TRUE);
+  }
 
   if (GUIenabled)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic