Cache flag icons

This commit is contained in:
jagannatharjun
2020-05-23 10:47:30 +05:30
parent 68d4dc34db
commit bcf11cf1e8
2 changed files with 10 additions and 1 deletions

View File

@@ -62,6 +62,7 @@ private:
static UIThemeManager *m_instance;
QHash<QString, QColor> m_colors;
mutable QHash<QString, QIcon> m_iconCache;
mutable QHash<QString, QIcon> m_flagCache;
const bool m_useCustomTheme;
#if (defined(Q_OS_UNIX) && !defined(Q_OS_MACOS))
const bool m_useSystemTheme;