summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorIvan Solovev <ivan.solovev@qt.io>2021-09-02 11:29:51 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2021-09-03 14:00:53 +0200
commite300fc92044c33bfa0f1fd5e777be0fbebde60d8 (patch)
tree644d36d921d8d9d38f8841b2407d78aa28039ec2 /util
parent340131b4be282063d5dbe352a58e4b2c45994f77 (diff)
Make tst_QLocale::TransientLocale succeed at changing system locale
It was previously calling setlocale(), which makes no difference to the Unix backend for the system locale, since that's based on environment variables (that would normally be used to get default values for the various setlocale() categories, but only the first time each is asked for). So, on Unix, set the environment variable, too. It's also necessary to instantiate a QSystemLocale instance transiently to trigger a refresh of the system locale data. Pick-to: 6.2 Change-Id: If92e44053f9021e96c814f4b289f4fadaa7027e0 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions