path: root/src/widgets/styles
diff options
authorStephen Röttger <>2012-04-24 05:29:07 +0200
committerQt by Nokia <>2012-04-24 21:45:00 +0200
commitb9790a04eeba664ecdf9ace24911094a71b5f0bd (patch)
tree0874a58a2bd0262787468b5200759325f9a89607 /src/widgets/styles
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 <> Reviewed-by: John Layt <>
Diffstat (limited to 'src/widgets/styles')
0 files changed, 0 insertions, 0 deletions