From fb0fed21aa53dd96def972289eed28358e178a27 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Fri, 13 Dec 2024 14:48:27 -0800 Subject: [PATCH] Qt: Skip processing QLocale::C if present --- src/platform/qt/SettingsView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/qt/SettingsView.cpp b/src/platform/qt/SettingsView.cpp index a72bf0d7b..f4eea01db 100644 --- a/src/platform/qt/SettingsView.cpp +++ b/src/platform/qt/SettingsView.cpp @@ -364,7 +364,7 @@ SettingsView::SettingsView(ConfigController* controller, InputController* inputC continue; } QLocale locale(name.remove(QString("%0-").arg(binaryName)).remove(".qm")); - if (locale.language() == QLocale::English) { + if (locale.language() == QLocale::English || locale.language() == QLocale::C) { continue; } QString endonym = locale.nativeLanguageName();