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:
parent
7a1835cf01
commit
becf979cf4
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user