diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2022-08-23 19:11:09 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2022-08-25 20:34:54 +0200 |
commit | 612c345108dca3e6c67e75bcf08912641f3f6f13 (patch) | |
tree | bf023e01496965bec108d1623d011c6cd546d826 /src/gui/rhi | |
parent | 47bafe6253eef6a13cddef95cad3a6d5712736d1 (diff) |
Reverse toLocalTime()'s and toUTC()'s delegation to toTimeSpec()
The implementations of toLocalTime() and toUTC() get marginally more
efficient and toTimeSpec() now manifestly does what its documentation
declares it does. Previously, passing TimeZone would have produced a
warning about passing it to toTimeSpec(), which was less than helpful;
it now gives a more appropriate warning.
Rationalize the \sa lines between these functions and their close
relatives in the process.
Change-Id: Ie94c63cbea8ef3d1d14c2f1febdc10f0e53023c0
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/gui/rhi')
0 files changed, 0 insertions, 0 deletions