Hopefully fix Qt 5.1 compilation

This commit is contained in:
Jan Dalheimer 2014-01-04 19:20:20 +01:00
parent 7f6b344b49
commit 8950953d91

View File

@ -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());