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

List:       kde-commits
Subject:    kdebase/kcontrol/icons
From:       Stephan Binner <binner () kde ! org>
Date:       2004-10-03 7:38:26
Message-ID: 20041003073826.4156C996F () office ! kde ! org
[Download RAW message or body]

CVS commit by binner: 

Partial revert to unbreak icon switching


  M +6 -2      iconthemes.cpp   1.45


--- kdebase/kcontrol/icons/iconthemes.cpp  #1.44:1.45
@@ -405,9 +405,13 @@ void IconThemesConfig::save()
      return;
 
-  KConfig *config = KGlobal::config();
-  KConfigGroupSaver saver(config, "Icons");
+  KSimpleConfig *config = new KSimpleConfig("kdeglobals", false);
+
+  config->setGroup("Icons");
+
   config->writeEntry("Theme", m_themeNames[selected->text(0)]);
   emit changed(false);
 
+  delete config;
+
   for (int i=0; i<KIcon::LastGroup; i++)
   {


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

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