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

List:       kde-commits
Subject:    KDE/kdelibs/kdeui/icons
From:       Michael Pyne <mpyne () kde ! org>
Date:       2010-05-21 0:53:43
Message-ID: 20100521005343.118C2AC8BC () svn ! kde ! org
[Download RAW message or body]

SVN commit 1129007 by mpyne:

Cache when KIconLoader::loadIcon misses finding an icon.

My initial port of KIconLoader to KSharedDataCache didn't include the old behavior of
caching icon search misses. Searching for an icon and not finding it is slow! So, cache
the results.

I couldn't really understand what loadIcon was supposed to be doing so I spent some time
refactoring it instead. The behavior should be compatible with sane usage patterns, but my
first attempt didn't size "User" icons appropriately so look at this patch with
trepidation if your icons don't work.


 M  +187 -302  kiconloader.cpp  
 M  +8 -3      kiconloader.h  


http://websvn.kde.org/?view=rev&revision=1129007
[prev in list] [next in list] [prev in thread] [next in thread] 

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