diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-29 19:43:24 +0100 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2021-01-29 19:43:24 +0100 |
| commit | d0796b4ab23122d5f01378743d93f8c75b19c35c (patch) | |
| tree | 66c9e549d0f1ecb8be22ccb889e66c86e162f42a /src/settingsdialogworkarounds.cpp | |
| parent | f53e5406d4292f484257178ec5733f6ceb116673 (diff) | |
Move settings around. Remove unused settings.
Diffstat (limited to 'src/settingsdialogworkarounds.cpp')
| -rw-r--r-- | src/settingsdialogworkarounds.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/settingsdialogworkarounds.cpp b/src/settingsdialogworkarounds.cpp index c050c722..5a4b15ca 100644 --- a/src/settingsdialogworkarounds.cpp +++ b/src/settingsdialogworkarounds.cpp @@ -10,19 +10,6 @@ WorkaroundsSettingsTab::WorkaroundsSettingsTab(Settings& s, SettingsDialog& d) { ui->appIDEdit->setText(settings().steam().appID()); - LoadMechanism::EMechanism mechanismID = settings().game().loadMechanismType(); - int index = 0; - - if (settings().game().loadMechanism().isDirectLoadingSupported()) { - ui->mechanismBox->addItem(QObject::tr("Mod Organizer"), LoadMechanism::LOAD_MODORGANIZER); - if (mechanismID == LoadMechanism::LOAD_MODORGANIZER) { - index = ui->mechanismBox->count() - 1; - } - } - - ui->mechanismBox->setCurrentIndex(index); - - ui->hideUncheckedBox->setChecked(settings().game().hideUncheckedPlugins()); ui->forceEnableBox->setChecked(settings().game().forceEnableCoreFiles()); ui->lockGUIBox->setChecked(settings().interface().lockGUI()); ui->enableArchiveParsingBox->setChecked(settings().archiveParsing()); @@ -42,10 +29,6 @@ void WorkaroundsSettingsTab::update() settings().steam().setAppID(""); } - settings().game().setLoadMechanism(static_cast<LoadMechanism::EMechanism>( - ui->mechanismBox->itemData(ui->mechanismBox->currentIndex()).toInt())); - - settings().game().setHideUncheckedPlugins(ui->hideUncheckedBox->isChecked()); settings().game().setForceEnableCoreFiles(ui->forceEnableBox->isChecked()); settings().interface().setLockGUI(ui->lockGUIBox->isChecked()); settings().setArchiveParsing(ui->enableArchiveParsingBox->isChecked()); |
