diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2017-04-10 08:37:08 -0700 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2017-04-11 06:45:41 +0000 |
commit | d5f62f7bc7895815546cd2f6be9605486907018d (patch) | |
tree | 5c49a23fed5a50c9eada3e658874304a7c80bda0 /src/testlib/qtest.h | |
parent | dbea118f120a781e1aed717856bb7ab3d3ec86f1 (diff) |
Ask MS runtime to reload the timezone details if they've changed
POSIX documents that localtime() ensures that tzset() has been called,
but the wording could be understood to mean that it only needs to do so
the first time. Anyway, we're sure that the MS runtime only gets the
timezone information from the Control Panel once. That means Qt-based
applications will not react to a change in the timezone.
Attempt to do that by moving tzset() out of the #if, to apply to all
operating systems.
Task-number: QTBUG-60043
Change-Id: I6ab535fb61094af19fc1fffd14b413541fe5a64c
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/testlib/qtest.h')
0 files changed, 0 insertions, 0 deletions