From 35836c7709fec86f1e005528482f7b22fd07c935 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Thu, 4 May 2017 00:03:47 +0200 Subject: NOISSUE herp derp custom icon theme support * Put icon theme in iconthemes/custom/ * Select 'Custom' in the UI. * ... * Maybe it won't explode. --- application/pages/global/MultiMCPage.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'application/pages/global/MultiMCPage.cpp') diff --git a/application/pages/global/MultiMCPage.cpp b/application/pages/global/MultiMCPage.cpp index 47d79d98..4073f6b7 100644 --- a/application/pages/global/MultiMCPage.cpp +++ b/application/pages/global/MultiMCPage.cpp @@ -314,6 +314,9 @@ void MultiMCPage::applySettings() case 6: s->set("IconTheme", "iOS"); break; + case 7: + s->set("IconTheme", "custom"); + break; case 0: default: s->set("IconTheme", "multimc"); @@ -411,6 +414,10 @@ void MultiMCPage::loadSettings() { ui->themeComboBox->setCurrentIndex(6); } + else if (theme == "custom") + { + ui->themeComboBox->setCurrentIndex(7); + } else { ui->themeComboBox->setCurrentIndex(0); -- cgit v1.2.3