From ceec70e014db629aa8ba3472839cc42781d73d4c Mon Sep 17 00:00:00 2001 From: Petr Mrázek Date: Sun, 1 Mar 2015 22:20:57 +0100 Subject: GH-796 Icon theme loading workaround Replacing the Qt machinery with other Qt machinery under our control --- MultiMC.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'MultiMC.h') diff --git a/MultiMC.h b/MultiMC.h index dc63ea53..bce8a53b 100644 --- a/MultiMC.h +++ b/MultiMC.h @@ -5,6 +5,7 @@ #include "logger/QsLog.h" #include "logger/QsLogDest.h" #include +#include class MinecraftVersionList; class LWJGLVersionList; @@ -72,6 +73,10 @@ public: std::shared_ptr icons(); + QIcon getThemedIcon(const QString& name); + + void setIconTheme(const QString& name); + Status status() { return m_status; -- cgit