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

List:       kde-commits
Subject:    KDE/kdelibs/kdeui/icons
From:       Dmitry Suzdalev <dimsuz () gmail ! com>
Date:       2007-07-20 12:47:23
Message-ID: 1184935643.599925.30121.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 690231 by dimsuz:

Discard also a memory-cache if it is being used


 M  +3 -0      kpixmapcache.cpp  


--- trunk/KDE/kdelibs/kdeui/icons/kpixmapcache.cpp #690230:690231
@@ -385,6 +385,9 @@
 void KPixmapCache::discard()
 {
     deleteCache(d->mName);
+    if(d->mUseQPixmapCache)
+        QPixmapCache::clear();
+
     init();
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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