mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-07-02 03:16:58 +03:00
Remove obsolete auto login option.
This commit is contained in:
parent
dff00a6d2a
commit
be8dba9ee2
6 changed files with 0 additions and 72 deletions
|
|
@ -98,18 +98,6 @@ void InstanceSettings::applySettings()
|
|||
m_obj->reset("MinecraftWinHeight");
|
||||
}
|
||||
|
||||
// Auto Login
|
||||
bool login = ui->accountSettingsBox->isChecked();
|
||||
m_obj->set("OverrideLogin", login);
|
||||
if (login)
|
||||
{
|
||||
m_obj->set("AutoLogin", ui->autoLoginCheckBox->isChecked());
|
||||
}
|
||||
else
|
||||
{
|
||||
m_obj->reset("AutoLogin");
|
||||
}
|
||||
|
||||
// Memory
|
||||
bool memory = ui->memoryGroupBox->isChecked();
|
||||
m_obj->set("OverrideMemory", memory);
|
||||
|
|
@ -170,10 +158,6 @@ void InstanceSettings::loadSettings()
|
|||
ui->windowWidthSpinBox->setValue(m_obj->get("MinecraftWinWidth").toInt());
|
||||
ui->windowHeightSpinBox->setValue(m_obj->get("MinecraftWinHeight").toInt());
|
||||
|
||||
// Auto Login
|
||||
ui->accountSettingsBox->setChecked(m_obj->get("OverrideLogin").toBool());
|
||||
ui->autoLoginCheckBox->setChecked(m_obj->get("AutoLogin").toBool());
|
||||
|
||||
// Memory
|
||||
ui->memoryGroupBox->setChecked(m_obj->get("OverrideMemory").toBool());
|
||||
ui->minMemSpinBox->setValue(m_obj->get("MinMemAlloc").toInt());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue