diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2019-11-26 13:35:10 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2019-11-27 18:27:43 +0100 |
commit | 78cde1bfd94521bbe4972f31a79c959d0990ea77 (patch) | |
tree | 5800ded2ef27530444f1eef1b7339da418f21d2a /util/unicode | |
parent | c20c7efea96046bebcb8ff7823d3a7e227f92e73 (diff) |
Fix mis-guided init() in default QAndroidTimeZonePrivate constructor
It set the time-zone member sensibly to the default zone, but then
called init("UTC"), which over-wrote that default with UTC. This had
no visible effect (as the default-constructed object is only used to
access methods that (though virtual) are effectively static), but was
needlessly complicated.
Tidied up systemTimeZoneId() at the same time.
Change-Id: I897aff16855c28487a1029bef50c75ebc1ff5b55
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'util/unicode')
0 files changed, 0 insertions, 0 deletions