summaryrefslogtreecommitdiffstats
path: root/examples/widgets/mac
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2021-04-13 15:26:35 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2021-04-16 10:20:11 +0200
commitc3aa4cf95257416bb6bcfb43c9e0e54b9af36b4b (patch)
treeb4ca2b5114dd426367af40e6308c173aa8902d6f /examples/widgets/mac
parent455994c2eef28ca4ed6d52103af47364e4145555 (diff)
Catch invalid offset returns from QTimeZone backends
If the backends run into an error in computing the offset, they return INT_MIN; but they are valled via the front-end, which returns zero when the zone is invalid. So treat INT_MIN returns from the backend the same as the case of being invalid. Change-Id: Ic3c4dfe964dbfba4030c770213eca8a63e84736d Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'examples/widgets/mac')
0 files changed, 0 insertions, 0 deletions