fix: reorganize icon themes
Rename MultiMC to Legacy Simple (Colored) is now the first icon theme Custom is now the last icon theme, which also fixes a loading issue when Legacy was selected Fix loading of Legacy theme
This commit is contained in:
parent
ca211558b5
commit
3697d70b48
@ -247,16 +247,16 @@ void LauncherPage::applySettings()
|
|||||||
switch (ui->themeComboBox->currentIndex())
|
switch (ui->themeComboBox->currentIndex())
|
||||||
{
|
{
|
||||||
case 0:
|
case 0:
|
||||||
s->set("IconTheme", "pe_dark");
|
s->set("IconTheme", "pe_colored");
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
s->set("IconTheme", "pe_light");
|
s->set("IconTheme", "pe_light");
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
s->set("IconTheme", "pe_blue");
|
s->set("IconTheme", "pe_dark");
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
s->set("IconTheme", "pe_colored");
|
s->set("IconTheme", "pe_blue");
|
||||||
break;
|
break;
|
||||||
case 4:
|
case 4:
|
||||||
s->set("IconTheme", "OSX");
|
s->set("IconTheme", "OSX");
|
||||||
@ -268,10 +268,10 @@ void LauncherPage::applySettings()
|
|||||||
s->set("IconTheme", "flat");
|
s->set("IconTheme", "flat");
|
||||||
break;
|
break;
|
||||||
case 7:
|
case 7:
|
||||||
s->set("IconTheme", "custom");
|
s->set("IconTheme", "multimc");
|
||||||
break;
|
break;
|
||||||
case 8:
|
case 8:
|
||||||
s->set("IconTheme", "multimc");
|
s->set("IconTheme", "custom");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -324,7 +324,7 @@ void LauncherPage::loadSettings()
|
|||||||
m_currentUpdateChannel = s->get("UpdateChannel").toString();
|
m_currentUpdateChannel = s->get("UpdateChannel").toString();
|
||||||
//FIXME: make generic
|
//FIXME: make generic
|
||||||
auto theme = s->get("IconTheme").toString();
|
auto theme = s->get("IconTheme").toString();
|
||||||
if (theme == "pe_dark")
|
if (theme == "pe_colored")
|
||||||
{
|
{
|
||||||
ui->themeComboBox->setCurrentIndex(0);
|
ui->themeComboBox->setCurrentIndex(0);
|
||||||
}
|
}
|
||||||
@ -332,11 +332,11 @@ void LauncherPage::loadSettings()
|
|||||||
{
|
{
|
||||||
ui->themeComboBox->setCurrentIndex(1);
|
ui->themeComboBox->setCurrentIndex(1);
|
||||||
}
|
}
|
||||||
else if (theme == "pe_blue")
|
else if (theme == "pe_dark")
|
||||||
{
|
{
|
||||||
ui->themeComboBox->setCurrentIndex(2);
|
ui->themeComboBox->setCurrentIndex(2);
|
||||||
}
|
}
|
||||||
else if (theme == "pe_colored")
|
else if (theme == "pe_blue")
|
||||||
{
|
{
|
||||||
ui->themeComboBox->setCurrentIndex(3);
|
ui->themeComboBox->setCurrentIndex(3);
|
||||||
}
|
}
|
||||||
|
@ -264,7 +264,7 @@
|
|||||||
</property>
|
</property>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Simple (Dark Icons)</string>
|
<string>Simple (Colored Icons)</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
@ -274,12 +274,12 @@
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Simple (Blue Icons)</string>
|
<string>Simple (Dark Icons)</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Simple (Colored Icons)</string>
|
<string>Simple (Blue Icons)</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
@ -294,7 +294,12 @@
|
|||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string notr="true">Flat</string>
|
<string>Flat</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Legacy</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
@ -302,11 +307,6 @@
|
|||||||
<string>Custom</string>
|
<string>Custom</string>
|
||||||
</property>
|
</property>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
|
||||||
<property name="text">
|
|
||||||
<string>MultiMC</string>
|
|
||||||
</property>
|
|
||||||
</item>
|
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="1">
|
<item row="1" column="1">
|
||||||
|
Loading…
Reference in New Issue
Block a user