diff options
author | Mike FABIAN <maiku.fabian@gmail.com> | 2012-06-04 17:08:27 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-06 15:29:34 +0200 |
commit | cc94a1c845c033080de85646e0e2a9100ff4c938 (patch) | |
tree | 219c0f8de17d7534def5487069ea5e89ed0c7658 /src/corelib/tools/qlocale_unix.cpp | |
parent | 897e19f95ee91ec21bb9dd9f3157ee7333c9018f (diff) |
Rename QSystemLocale::fallbackLocale() to QSystemLocale::fallbackUiLocale()
Suggested by Oswald Buddenhagen. This function is about the (main)
UI language, not about other locale features like number formatting etc.
It not in the public API anymore in Qt 5.0 so it can be renamed.
Change-Id: I2a23892c67e5813de4c0e57330749568777e9ee6
Reviewed-by: Oswald Buddenhagen
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Diffstat (limited to 'src/corelib/tools/qlocale_unix.cpp')
-rw-r--r-- | src/corelib/tools/qlocale_unix.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qlocale_unix.cpp b/src/corelib/tools/qlocale_unix.cpp index d46ced463c..9c841553c9 100644 --- a/src/corelib/tools/qlocale_unix.cpp +++ b/src/corelib/tools/qlocale_unix.cpp @@ -110,7 +110,7 @@ Q_GLOBAL_STATIC(QSystemLocaleData, qSystemLocaleData) #ifndef QT_NO_SYSTEMLOCALE -QLocale QSystemLocale::fallbackLocale() const +QLocale QSystemLocale::fallbackUiLocale() const { QByteArray lang = qgetenv("LC_ALL"); if (lang.isEmpty()) |