summaryrefslogtreecommitdiffstats
path: root/application/main.cpp
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2016-10-21 09:07:26 +0200
committerPetr Mrázek <peterix@gmail.com>2016-10-21 09:07:26 +0200
commit872cfe036d9472739939ad401dbe9511193d62ca (patch)
tree2d8356848c4955b09d66d6fc96924cc4da85ccb9 /application/main.cpp
parentf07496ac6d42986266f3bff5093fa0009521ecd5 (diff)
downloadMultiMC-872cfe036d9472739939ad401dbe9511193d62ca.tar
MultiMC-872cfe036d9472739939ad401dbe9511193d62ca.tar.gz
MultiMC-872cfe036d9472739939ad401dbe9511193d62ca.tar.lz
MultiMC-872cfe036d9472739939ad401dbe9511193d62ca.tar.xz
MultiMC-872cfe036d9472739939ad401dbe9511193d62ca.zip
GH-903 simple theme switching and dark theme
Diffstat (limited to 'application/main.cpp')
-rw-r--r--application/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/application/main.cpp b/application/main.cpp
index a996ef3b..f22cd732 100644
--- a/application/main.cpp
+++ b/application/main.cpp
@@ -28,6 +28,8 @@ int launchInstance(MultiMC &app, InstancePtr inst)
int main_gui(MultiMC &app)
{
app.setIconTheme(MMC->settings()->get("IconTheme").toString());
+ app.setApplicationTheme(MMC->settings()->get("ApplicationTheme").toString());
+
// show main window
auto inst = app.instances()->getInstanceById(app.launchId);
if(inst)