diff --git a/src/gui/optionsdlg.cpp b/src/gui/optionsdlg.cpp index a3bde6b8c..871666724 100644 --- a/src/gui/optionsdlg.cpp +++ b/src/gui/optionsdlg.cpp @@ -1311,7 +1311,7 @@ void OptionsDialog::setLocale(const QString &localeStr) } if (index < 0) { // Unrecognized, use US English - index = m_ui->comboI18n->findData(QLocale("en").name(), Qt::UserRole); + index = m_ui->comboI18n->findData("en", Qt::UserRole); Q_ASSERT(index >= 0); } m_ui->comboI18n->setCurrentIndex(index);