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

List:       kde-commits
Subject:    KDE_3_1_BRANCH: kdebase/kcontrol/icons
From:       Antonio Larrosa Jimenez <larrosa () kde ! org>
Date:       2003-08-28 23:18:21
[Download RAW message or body]

CVS commit by antlarr: 

backport of the fix for #50592


  M +0 -11     iconthemes.cpp   1.29.2.2


--- kdebase/kcontrol/icons/iconthemes.cpp  #1.29.2.1:1.29.2.2
@@ -379,15 +379,4 @@ void IconThemesConfig::save()
   config->writeEntry("Theme", m_themeNames[selected->text(0)]);
 
-  KIconTheme icontheme(m_themeNames[selected->text(0)]);
-
-  const char * const groups[] = { "Desktop", "Toolbar", "MainToolbar", "Small", 0L };
-
-  for (KIcon::Group i=KIcon::FirstGroup; i<KIcon::LastGroup; i++)
-  {
-    if (groups[i] == 0L)
-      break;
-    config->setGroup(QString::fromLatin1(groups[i]) + "Icons");
-    config->writeEntry("Size", icontheme.defaultSize(i));
-  }
   delete config;
 


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

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