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