Merge pull request #65 from he3als/develop

This commit is contained in:
Sefa Eyeoglu
2022-10-28 18:43:30 +02:00
committed by GitHub
52 changed files with 472 additions and 3 deletions

View File

@ -310,9 +310,12 @@ void LauncherPage::applySettings()
s->set("IconTheme", "flat");
break;
case 7:
s->set("IconTheme", "multimc");
s->set("IconTheme", "flat_white");
break;
case 8:
s->set("IconTheme", "multimc");
break;
case 9:
s->set("IconTheme", "custom");
break;
}
@ -408,14 +411,18 @@ void LauncherPage::loadSettings()
{
ui->themeComboBox->setCurrentIndex(6);
}
else if (theme == "multimc")
else if (theme == "flat_white")
{
ui->themeComboBox->setCurrentIndex(7);
}
else if (theme == "custom")
else if (theme == "multimc")
{
ui->themeComboBox->setCurrentIndex(8);
}
else if (theme == "custom")
{
ui->themeComboBox->setCurrentIndex(9);
}
{
auto currentTheme = s->get("ApplicationTheme").toString();

View File

@ -300,6 +300,11 @@
<string>Flat</string>
</property>
</item>
<item>
<property name="text">
<string>Flat (White)</string>
</property>
</item>
<item>
<property name="text">
<string>Legacy</string>