when releasing an element from the rect cache, remove it from memory,
but write it to disk anyways svn path=/trunk/KDE/kdelibs/; revision=1005300
This commit is contained in:
parent
f37ed173ad
commit
02e6870f4e
@ -786,6 +786,8 @@ void Theme::releaseRectsCache(const QString &image)
|
||||
{
|
||||
QHash<QString, QSet<QString> >::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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user