summaryrefslogtreecommitdiffstats
path: root/application/MultiMC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'application/MultiMC.cpp')
-rw-r--r--application/MultiMC.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/application/MultiMC.cpp b/application/MultiMC.cpp
index 969e54e5..9ccd0895 100644
--- a/application/MultiMC.cpp
+++ b/application/MultiMC.cpp
@@ -15,6 +15,7 @@
#include "themes/SystemTheme.h"
#include "themes/DarkTheme.h"
#include "themes/BrightTheme.h"
+#include "themes/CustomTheme.h"
#include <iostream>
#include <QDir>
@@ -1010,9 +1011,11 @@ void MultiMC::initThemes()
{
m_themes.insert(std::make_pair(theme->id(), std::unique_ptr<ITheme>(theme)));
};
+ auto darkTheme = new DarkTheme();
insertTheme(new SystemTheme());
- insertTheme(new DarkTheme());
+ insertTheme(darkTheme);
insertTheme(new BrightTheme());
+ insertTheme(new CustomTheme(darkTheme, "custom"));
}
void MultiMC::setApplicationTheme(const QString& name)