From 2bf802765d2092f5e37cb643a529629f05eb2d3a Mon Sep 17 00:00:00 2001 From: Aaron Seigo Date: Fri, 22 Jul 2011 17:55:57 +0200 Subject: [PATCH] discard discoveries only when the svg elements also go away; we don't care about colors --- theme.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/theme.cpp b/theme.cpp index f8cb01597..aa24e72d0 100644 --- a/theme.cpp +++ b/theme.cpp @@ -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) {