discard cache when composite changes

would make too many deletions?
another way could be including the compositing state in the cache key
but would be  a bit complex...

svn path=/trunk/KDE/kdelibs/; revision=883978
This commit is contained in:
Marco Martin 2008-11-13 22:41:02 +00:00
parent b3120ecba2
commit 67e6abb7f5

View File

@ -163,6 +163,7 @@ void ThemePrivate::compositingChanged()
if (compositingActive != nowCompositingActive) {
compositingActive = nowCompositingActive;
pixmapCache->discard();
emit q->themeChanged();
}
#endif