summaryrefslogtreecommitdiffstats
path: root/application/MultiMC.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-10-22 01:43:36 +0200
committerPetr Mrázek <peterix@gmail.com>2016-10-22 01:43:36 +0200
commitbbe139dce51a7965394c800cac974946820d3869 (patch)
treeaa271175a3df6ada20932e4cf898c723b1238775 /application/MultiMC.cpp
parent872cfe036d9472739939ad401dbe9511193d62ca (diff)
downloadMultiMC-bbe139dce51a7965394c800cac974946820d3869.tar
MultiMC-bbe139dce51a7965394c800cac974946820d3869.tar.gz
MultiMC-bbe139dce51a7965394c800cac974946820d3869.tar.lz
MultiMC-bbe139dce51a7965394c800cac974946820d3869.tar.xz
MultiMC-bbe139dce51a7965394c800cac974946820d3869.zip
GH-903 force Dark theme to use Fusion Qt style
Themes now include Qt styles.
Diffstat (limited to 'application/MultiMC.cpp')
-rw-r--r--application/MultiMC.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/application/MultiMC.cpp b/application/MultiMC.cpp
index 093d03b4..6d671bd4 100644
--- a/application/MultiMC.cpp
+++ b/application/MultiMC.cpp
@@ -22,6 +22,7 @@
#include <QMessageBox>
#include <QStringList>
#include <QDebug>
+#include <QStyleFactory>
#include "InstanceList.h"
#include <minecraft/auth/MojangAccountList.h>
@@ -982,9 +983,9 @@ void MultiMC::setApplicationTheme(const QString& name)
if(themeIter != m_themes.end())
{
auto & theme = (*themeIter).second;
+ setStyle(QStyleFactory::create(theme->qtTheme()));
setPalette(theme->colorScheme());
setStyleSheet(theme->appStyleSheet());
- //setStyle(QStyleFactory::create("Fusion"));
}
else
{