qt: Actually save secondary video card settings

This also rounds off the new video monitor API with a instanced set_screen_size API
This commit is contained in:
Cacodemon345
2022-07-07 17:56:32 +06:00
parent dec057020d
commit a886194382
3 changed files with 65 additions and 50 deletions

View File

@@ -46,6 +46,7 @@ SettingsDisplay::~SettingsDisplay()
void SettingsDisplay::save() {
gfxcard = ui->comboBoxVideo->currentData().toInt();
gfxcard_2 = ui->comboBoxVideoSecondary->currentData().toInt();
voodoo_enabled = ui->checkBoxVoodoo->isChecked() ? 1 : 0;
ibm8514_enabled = ui->checkBox8514->isChecked() ? 1 : 0;
xga_enabled = ui->checkBoxXga->isChecked() ? 1 : 0;