summaryrefslogtreecommitdiffstats
path: root/src/widgets/styles/qgtkstyle.cpp
diff options
context:
space:
mode:
authorStephen Röttger <stephen.roettger@zero-entropy.de>2012-04-24 05:29:07 +0200
committerQt by Nokia <qt-info@nokia.com>2012-04-24 21:45:00 +0200
commitb9790a04eeba664ecdf9ace24911094a71b5f0bd (patch)
tree0874a58a2bd0262787468b5200759325f9a89607 /src/widgets/styles/qgtkstyle.cpp
parentf948bb3c6c6d14f5d5f209f9be720998a81df145 (diff)
Fix locale issue on unix systems
QSystemLocale::query() was missing the LanguageId QueryType. Therefore QSystemLocale::fallbackLocale() was always used as default language, which reads environment variables in the order: LC_ALL -> LC_NUMERIC -> LANG. The correct behaviour is to read LC_ALL -> LC_MESSAGES -> LANG. This leads to problems for users that want to use english language, but non-english localization features (date, number formats etc.) Change-Id: I4310537dac8622a3dd79231fbad58e22f20ca262 Reviewed-by: Lars Knoll <lars.knoll@nokia.com> Reviewed-by: John Layt <jlayt@kde.org>
Diffstat (limited to 'src/widgets/styles/qgtkstyle.cpp')
0 files changed, 0 insertions, 0 deletions