diff --git a/launcher/translations/TranslationsModel.cpp b/launcher/translations/TranslationsModel.cpp index 5533c0826..bfbe8f58e 100644 --- a/launcher/translations/TranslationsModel.cpp +++ b/launcher/translations/TranslationsModel.cpp @@ -461,7 +461,7 @@ bool TranslationsModel::selectLanguage(QString key) QString &langCode = key; auto langPtr = findLanguage(key); - if (langCode.length() == 0) + if (langCode.isEmpty()) { d->no_language_set = true; }