diff options
author | Petr Mrázek <peterix@gmail.com> | 2017-05-04 00:03:47 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2017-05-04 00:03:47 +0200 |
commit | 35836c7709fec86f1e005528482f7b22fd07c935 (patch) | |
tree | e231a203661edf40463849eafe2bc2fda91a709e /application/MultiMC.cpp | |
parent | e76e6329cdf4f1613c6303debd3ca43493147f7b (diff) | |
download | MultiMC-35836c7709fec86f1e005528482f7b22fd07c935.tar MultiMC-35836c7709fec86f1e005528482f7b22fd07c935.tar.gz MultiMC-35836c7709fec86f1e005528482f7b22fd07c935.tar.lz MultiMC-35836c7709fec86f1e005528482f7b22fd07c935.tar.xz MultiMC-35836c7709fec86f1e005528482f7b22fd07c935.zip |
NOISSUE herp derp custom icon theme support
* Put icon theme in iconthemes/custom/
* Select 'Custom' in the UI.
* ...
* Maybe it won't explode.
Diffstat (limited to 'application/MultiMC.cpp')
-rw-r--r-- | application/MultiMC.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/application/MultiMC.cpp b/application/MultiMC.cpp index d9d59aa6..18314371 100644 --- a/application/MultiMC.cpp +++ b/application/MultiMC.cpp @@ -537,6 +537,11 @@ void MultiMC::initIcons() m_icons->directoryChanged(value.toString()); }); ENV.registerIconList(m_icons); + + // set icon theme search path! + auto searchPaths = QIcon::themeSearchPaths(); + searchPaths.append("iconthemes"); + QIcon::setThemeSearchPaths(searchPaths); } void appDebugOutput(QtMsgType type, const QMessageLogContext &context, const QString &msg) |