From 70f9460484c104249abc904f79923485df3edb5d Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Wed, 8 Sep 2010 21:07:14 +0000 Subject: [PATCH] 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 --- clients/oxygen/oxygenfactory.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/clients/oxygen/oxygenfactory.cpp b/clients/oxygen/oxygenfactory.cpp index 8766568658..b58637c98c 100644 --- a/clients/oxygen/oxygenfactory.cpp +++ b/clients/oxygen/oxygenfactory.cpp @@ -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