Readded helper().invalidateCaches call at each readConfig.

this is needed to properly catch 'contrast' changes in systemsettings.


svn path=/trunk/KDE/kdebase/workspace/; revision=1173169
This commit is contained in:
Hugo Pereira Da Costa 2010-09-08 21:07:14 +00:00
parent 117633d40d
commit 70f9460484

View file

@ -67,10 +67,7 @@ namespace Oxygen
{ {
if( changed & SettingColors ) if( changed & SettingColors )
{ { shadowCache().invalidateCaches(); }
shadowCache().invalidateCaches();
helper().invalidateCaches();
}
// read in the configuration // read in the configuration
setInitialized( false ); setInitialized( false );
@ -105,6 +102,7 @@ namespace Oxygen
this is needed to properly handle this is needed to properly handle
color contrast settings changed color contrast settings changed
*/ */
helper().invalidateCaches();
helper().reloadConfig(); helper().reloadConfig();
// create a config object // create a config object