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 )
{
shadowCache().invalidateCaches();
helper().invalidateCaches();
}
{ shadowCache().invalidateCaches(); }
// read in the configuration
setInitialized( false );
@ -105,6 +102,7 @@ namespace Oxygen
this is needed to properly handle
color contrast settings changed
*/
helper().invalidateCaches();
helper().reloadConfig();
// create a config object