diff -r dee5afe5301f -r 3f74d0d4af4c src/gui/image/qiconloader_p.h --- a/src/gui/image/qiconloader_p.h Mon Mar 15 12:43:09 2010 +0200 +++ b/src/gui/image/qiconloader_p.h Thu Apr 08 14:19:33 2010 +0300 @@ -169,6 +169,7 @@ static QIconLoader *instance(); void updateSystemTheme(); void invalidateKey() { m_themeKey++; } + void ensureInitialized(); private: QThemeIconEntries findIconHelper(const QString &themeName, @@ -176,6 +177,7 @@ QStringList &visited) const; uint m_themeKey; bool m_supportsSvg; + bool m_initialized; mutable QString m_userTheme; mutable QString m_systemTheme;