diff --git a/theme.cpp b/theme.cpp index 26e446c26..60e626929 100644 --- a/theme.cpp +++ b/theme.cpp @@ -786,6 +786,8 @@ void Theme::releaseRectsCache(const QString &image) { QHash >::iterator it = d->invalidElements.find(image); if (it != d->invalidElements.end()) { + KConfigGroup imageGroup(d->svgElementsCache, it.key()); + imageGroup.writeEntry("invalidElements", it.value().toList()); d->invalidElements.erase(it); } }