mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Fix loading of "true fullscreen" option in launcher
This commit is contained in:
parent
35ac4d88ac
commit
ccb08bda6f
@ -68,12 +68,13 @@ void CSettingsView::loadSettings()
|
||||
ui->comboBoxShowIntro->setCurrentIndex(settings["video"]["showIntro"].Bool());
|
||||
|
||||
#ifdef Q_OS_IOS
|
||||
ui->comboBoxFullScreen->setCurrentIndex(true);
|
||||
ui->comboBoxFullScreen->setCurrentIndex(1);
|
||||
ui->comboBoxFullScreen->setDisabled(true);
|
||||
#else
|
||||
ui->comboBoxFullScreen->setCurrentIndex(settings["video"]["fullscreen"].Bool());
|
||||
if (settings["video"]["realFullscreen"].Bool())
|
||||
ui->comboBoxFullScreen->setCurrentIndex(2);
|
||||
else
|
||||
ui->comboBoxFullScreen->setCurrentIndex(settings["video"]["fullscreen"].Bool());
|
||||
#endif
|
||||
|
||||
ui->comboBoxFriendlyAI->setCurrentText(QString::fromStdString(settings["server"]["friendlyAI"].String()));
|
||||
|
Loading…
Reference in New Issue
Block a user