backport disk cache sync in releaseRectsCache
svn path=/branches/KDE/4.3/kdelibs/; revision=1005305
This commit is contained in:
parent
259db9bbd2
commit
9e6bdba592
@ -776,6 +776,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