diff -r 2f34d5167611 -r fcece45ef507 src/gui/image/qiconloader_p.h --- a/src/gui/image/qiconloader_p.h Fri Apr 16 15:50:13 2010 +0300 +++ b/src/gui/image/qiconloader_p.h Mon May 03 13:17:34 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;