discard discoveries only when the svg elements also go away; we don't care about colors
This commit is contained in:
parent
a34e41b546
commit
e525c88cb2
@ -288,8 +288,6 @@ void ThemePrivate::compositingChanged()
|
||||
|
||||
void ThemePrivate::discardCache(CacheTypes caches)
|
||||
{
|
||||
discoveries.clear();
|
||||
|
||||
if (caches & PixmapCache) {
|
||||
pixmapsToCache.clear();
|
||||
saveTimer->stop();
|
||||
@ -305,6 +303,7 @@ void ThemePrivate::discardCache(CacheTypes caches)
|
||||
cachedStyleSheets.clear();
|
||||
|
||||
if (caches & SvgElementsCache) {
|
||||
discoveries.clear();
|
||||
invalidElements.clear();
|
||||
|
||||
if (svgElementsCache) {
|
||||
|
Loading…
Reference in New Issue
Block a user