summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qcommandlineparser.cpp
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-02-22 18:53:49 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2021-03-01 16:45:00 +0100
commit4a07947375ec3a6f353f1ed04024b1d6eb17177c (patch)
treef842bdcca5490ebdf82994ecd81bedc28432ff10 /src/corelib/tools/qcommandlineparser.cpp
parent63fbabde2378a57c0f144786de089530d1d43fa8 (diff)
QTimeZonePrivate::dataForLocalTime: avoid {ov,und}erflow
When computing a recent and imminent time, to bracket the time for which we want data, take care not to cycle round to the other end of the range of representable times. Rephrased comments on this function, in the process, to more accurately reflect what we're doing. Change-Id: Iacd36186abc6b19d0ca03981aec80b2c5af077b3 Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/tools/qcommandlineparser.cpp')
0 files changed, 0 insertions, 0 deletions