mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-03 14:12:30 -06:00
Make the icon cache a class variable
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
|
||||
#include <QColor>
|
||||
#include <QHash>
|
||||
#include <QIcon>
|
||||
#include <QObject>
|
||||
#include <QString>
|
||||
|
||||
@@ -60,6 +61,7 @@ private:
|
||||
|
||||
static UIThemeManager *m_instance;
|
||||
QHash<QString, QColor> m_colors;
|
||||
mutable QHash<QString, QIcon> m_iconCache;
|
||||
const bool m_useCustomTheme;
|
||||
#if (defined(Q_OS_UNIX) && !defined(Q_OS_MACOS))
|
||||
bool m_useSystemTheme;
|
||||
|
||||
Reference in New Issue
Block a user