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 )
|
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
|
||||||
|
|
Loading…
Reference in a new issue