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

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

CVS commit by antlarr: 

Sorry, I marked this bug report as WORKSFORME, but later found
that it was wrong indeed. So this is the fix for #50592.
It seems this have been there since the control center was reorganized
and the icon theme and effects tabs were put together


  M +0 -11     iconthemes.cpp   1.36


--- kdebase/kcontrol/icons/iconthemes.cpp  #1.35:1.36
@@ -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