Start: Use QStringLiteral
This commit is contained in:
@@ -102,7 +102,7 @@ gsl::owner<QComboBox*> GeneralSettingsWidget::createLanguageComboBox()
|
||||
auto langToStr = Gui::Translator::instance()->activeLanguage();
|
||||
QByteArray language = hGrp->GetASCII("Language", langToStr.c_str()).c_str();
|
||||
auto comboBox = gsl::owner<QComboBox*>(new QComboBox);
|
||||
comboBox->addItem(QString::fromLatin1("English"), QByteArray("English"));
|
||||
comboBox->addItem(QStringLiteral("English"), QByteArray("English"));
|
||||
Gui::TStringMap list = Gui::Translator::instance()->supportedLocales();
|
||||
int index {1};
|
||||
for (auto it = list.begin(); it != list.end(); ++it, ++index) {
|
||||
|
||||
Reference in New Issue
Block a user