diff --git a/src/lime_qt/main.cpp b/src/lime_qt/main.cpp index c22273a0a..2e77c8157 100644 --- a/src/lime_qt/main.cpp +++ b/src/lime_qt/main.cpp @@ -3415,9 +3415,8 @@ void GMainWindow::LoadTranslation() { bool loaded; if (UISettings::values.language.isEmpty()) { - // Use the system's default locale - QLocale defaultLocale = QLocale::system(); - loaded = translator.load(defaultLocale, {}, {}, QStringLiteral(":/languages/")); + // Use the system's default locale + loaded = translator.load(QLocale::system(), {}, {}, QStringLiteral(":/languages/")); } else { // Otherwise load from the specified file loaded = translator.load(UISettings::values.language, QStringLiteral(":/languages/"));