diff options
| author | Edward Welbourne <edward.welbourne@qt.io> | 2022-08-24 16:07:26 +0200 |
|---|---|---|
| committer | Edward Welbourne <edward.welbourne@qt.io> | 2022-12-09 16:16:48 +0100 |
| commit | 5da038ab519622cf18cb22c233f9b4a0111b21be (patch) | |
| tree | 847b8c49193369b4d1124faa48307e76c2bd65ed /src/gui/platform/android/qandroidnativeinterface.cpp | |
| parent | 3f282e8896980822b86bc009f85bf047c7d9c189 (diff) | |
Port QDateTimeEdit internals to QTimeZone
In the process, centralize the creation of date-time values, where
doing so requires catching invalid results caused by spring-forward
gaps; this saves some repetition and extends the treatment to more
places that did need it. Also, de-inline two overrides of virtuals;
being inline does them no good.
Replace the Qt::TimeSpec member of QDTEPrivate with a QTimeZone so
that creation of values can be streamlined and to make it easier to
add support for (currently unsupported) OffsetFromUTC and TimeZone
timespecs in the public QDTE API.
This greatly simplifies a lot of the code, while preparing it for a
long-needed extension to its functionality.
Task-number: QTBUG-80417
Task-number: QTBUG-108199
Change-Id: I0ac2c78025013bf89899e3ef1a56e89392f67ce5
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'src/gui/platform/android/qandroidnativeinterface.cpp')
0 files changed, 0 insertions, 0 deletions
