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

List:       kde-commits
Subject:    kdelibs/kdecore
From:       Piotr Szymanski <djurban () linuxpl ! org>
Date:       2004-05-29 15:20:51
Message-ID: 20040529152051.82A27126E4 () office ! kde ! org
[Download RAW message or body]

CVS commit by djurban: 

- dont add non icon themes to the list (without this cursor themes are added as \
icons)


  M +5 -2      kicontheme.cpp   1.60


--- kdelibs/kdecore/kicontheme.cpp  #1.59:1.60
@@ -468,4 +468,7 @@ QStringList KIconTheme::list()
             if (!KStandardDirs::exists(*it + *it2 + "/index.desktop") && \
!KStandardDirs::exists(*it + *it2 + "/index.theme"))  continue;
+                KIconTheme oink(*it2);
+            if (!oink.isValid()) continue;
+
             if (!_theme_list->contains(*it2))
                 _theme_list->append(*it2);


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

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