summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/corelib/tools/qlocale_unix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qlocale_unix.cpp b/src/corelib/tools/qlocale_unix.cpp
index 3fa903d..f2649fc 100644
--- a/src/corelib/tools/qlocale_unix.cpp
+++ b/src/corelib/tools/qlocale_unix.cpp
@@ -121,7 +121,7 @@ QLocale QSystemLocale::fallbackLocale() const
QByteArray lang = getSystemLocale();
if (lang.isEmpty())
- lang = qgetenv("LC_NUMERIC");
+ lang = qgetenv("LC_MESSAGES");
if (lang.isEmpty())
lang = qgetenv("LANG");
return QLocale(QLatin1String(lang));