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

List:       kde-commits
Subject:    KDE/kdelibs/kdeui/icons
From:       Friedrich W. H. Kossebau <kossebau () kde ! org>
Date:       2010-01-15 3:16:52
Message-ID: 1263525412.286119.7137.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1074976 by kossebau:

fixed: KIconDialog could call hasContext() before themes have been init'ed, so ensure \
it also in hasContext()

 M  +2 -0      kiconloader.cpp  


--- trunk/KDE/kdelibs/kdeui/icons/kiconloader.cpp #1074975:1074976
@@ -1514,6 +1514,8 @@
 // used by KIconDialog to find out which contexts to offer in a combobox
 bool KIconLoader::hasContext(KIconLoader::Context context) const
 {
+    d->initIconThemes();
+
     foreach(KIconThemeNode *themeNode, d->links)
        if( themeNode->theme->hasContext( context ))
            return true;


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

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