Skin fix -> online fixes
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
@ -276,8 +276,8 @@ void InstanceSettingsPage::applySettings()
|
||||
m_settings->reset("JoinServerOnLaunchAddress");
|
||||
}
|
||||
|
||||
bool legacySkinFix = ui->legacySkinFix->isChecked();
|
||||
m_settings->set("LegacySkinFix", legacySkinFix);
|
||||
bool onlineFixes = ui->onlineFixes->isChecked();
|
||||
m_settings->set("OnlineFixes", onlineFixes);
|
||||
|
||||
// FIXME: This should probably be called by a signal instead
|
||||
m_instance->updateRuntimeContext();
|
||||
@ -377,8 +377,8 @@ void InstanceSettingsPage::loadSettings()
|
||||
ui->serverJoinGroupBox->setChecked(m_settings->get("JoinServerOnLaunch").toBool());
|
||||
ui->serverJoinAddress->setText(m_settings->get("JoinServerOnLaunchAddress").toString());
|
||||
|
||||
ui->legacySkinFix->setChecked(m_settings->get("LegacySkinFix").toBool());
|
||||
ui->legacySkinFix->setVisible(m_instance->traits().contains("legacySkins"));
|
||||
ui->onlineFixes->setChecked(m_settings->get("OnlineFixes").toBool());
|
||||
ui->onlineFixes->setVisible(m_instance->traits().contains("legacyServices"));
|
||||
}
|
||||
|
||||
void InstanceSettingsPage::on_javaDetectBtn_clicked()
|
||||
|
@ -609,12 +609,12 @@
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="legacySkinFix">
|
||||
<widget class="QCheckBox" name="onlineFixes">
|
||||
<property name="toolTip">
|
||||
<string>Enables support for modern skins on old versions.</string>
|
||||
<string><html><head/><body><p>Fixes usages of old online services which are no longer operating by emulating them or redirecting to their modern counterparts.</p><p>This currently only allows modern skins to be used.</p></body></html></string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Enable legacy skin fix</string>
|
||||
<string>Enable online fixes</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
|
Reference in New Issue
Block a user