don't actually delete the frame: we want to discard the pixmap, but not the frame size or the enabledborders

svn path=/trunk/KDE/kdelibs/; revision=1215933
This commit is contained in:
Marco Martin 2011-01-20 11:23:56 +00:00
parent 7a1835cf01
commit becf979cf4

View File

@ -488,7 +488,7 @@ void FrameSvg::clearCache()
if (p->deref(this)) {
const QString key = d->cacheId(p, it.key());
FrameSvgPrivate::s_sharedFrames.remove(key);
delete p;
p->cachedBackground = QPixmap();
}
it.remove();