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:
parent
117633d40d
commit
70f9460484
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue