Hopefully fix Qt 5.1 compilation
This commit is contained in:
parent
7f6b344b49
commit
8950953d91
@ -220,7 +220,7 @@ void SettingsDialog::applySettings(SettingsObject *s)
|
||||
}
|
||||
|
||||
// Language
|
||||
s->set("Language", ui->languageBox->currentData().toLocale().bcp47Name());
|
||||
s->set("Language", ui->languageBox->itemData(ui->languageBox->currentIndex()).toLocale().bcp47Name());
|
||||
|
||||
// Updates
|
||||
s->set("AutoUpdate", ui->autoUpdateCheckBox->isChecked());
|
||||
|
Loading…
Reference in New Issue
Block a user