From 763fb8927c1b764307311bf1301d95af22e982d1 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 c5cbac5cf..9253704c7 100644 --- a/theme.cpp +++ b/theme.cpp @@ -286,8 +286,6 @@ void ThemePrivate::compositingChanged() void ThemePrivate::discardCache(CacheTypes caches) { - discoveries.clear(); - if (caches & PixmapCache) { pixmapsToCache.clear(); saveTimer->stop(); @@ -303,6 +301,7 @@ void ThemePrivate::discardCache(CacheTypes caches) cachedStyleSheets.clear(); if (caches & SvgElementsCache) { + discoveries.clear(); invalidElements.clear(); if (svgElementsCache) {