[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/plasma
From:       Marco Martin <notmart () gmail ! com>
Date:       2011-01-20 11:23:56
Message-ID: 20110120112356.B24C3AC8B7 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1215933 by mart:

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


 M  +1 -1      framesvg.cpp  


--- trunk/KDE/kdelibs/plasma/framesvg.cpp #1215932:1215933
@@ -488,7 +488,7 @@
             if (p->deref(this)) {
                 const QString key = d->cacheId(p, it.key());
                 FrameSvgPrivate::s_sharedFrames.remove(key);
-                delete p;
+                p->cachedBackground = QPixmap();
             }
 
             it.remove();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic