summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qlocale_unix.cpp
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2021-02-05 16:59:04 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2021-02-09 13:29:22 +0100
commitf218d895223df9fe8cbe6eca56d182533be71cd3 (patch)
tree53713f37c4f11afc7279712643e3d47cd6d884b8 /src/corelib/text/qlocale_unix.cpp
parent13ae47d98057c2ddca8c865b845973d7e4c8dd8b (diff)
Clarify what QSystemLocale::fallbackLocale() is used for
Change-Id: I8f073f996505ccb42020b32fd76520ecef54e628 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/text/qlocale_unix.cpp')
-rw-r--r--src/corelib/text/qlocale_unix.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/text/qlocale_unix.cpp b/src/corelib/text/qlocale_unix.cpp
index adc73ad19a..2caa6b7799 100644
--- a/src/corelib/text/qlocale_unix.cpp
+++ b/src/corelib/text/qlocale_unix.cpp
@@ -133,7 +133,7 @@ static bool contradicts(const QString &maybe, const QString &known)
return !(maybeId.acceptLanguage(knownId.language_id) && maybeId.acceptScriptCountry(knownId));
}
-QLocale QSystemLocale::fallbackUiLocale() const
+QLocale QSystemLocale::fallbackLocale() const
{
// See man 7 locale for precedence - LC_ALL beats LC_MESSAGES beats LANG:
QString lang = qEnvironmentVariable("LC_ALL");