Do size checking of icon sizes when loading system theme icons

This commit is contained in:
Jonas Kvinge
2020-04-27 21:36:08 +02:00
parent 011897da53
commit c338618593
3 changed files with 132 additions and 100 deletions

View File

@@ -26,7 +26,7 @@
class IconLoader {
public:
static void Init();
static QIcon Load(const QString &name, const int size = 0);
static QIcon Load(const QString &name, const int fixed_size = 0, const int min_size = 0, const int max_size = 0);
private:
explicit IconLoader() {}
static bool system_icons_;