summaryrefslogtreecommitdiffstats
path: root/src/printsupport
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-08-13 10:40:11 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2020-08-23 09:55:29 +0200
commit14f3f419b0864944d75283a850dc0ce141feaf0e (patch)
tree6a42b84eb98778e85ab982884b2e9bd616eff528 /src/printsupport
parent33031020e1bd35b52b91aea0b899756c59bf62e6 (diff)
Fix crash on serializing default-constructed QTimeZone
The serialization code neglected to check against null. Sinze zones are saved either by IANA ID or in our special OffsetFromUtc format, representing an invalid zone by a string that cannot possibly be a valid IANA ID will do. Fixes: QTBUG-86019 Pick-to: 5.15 Pick-to: 5.12 Change-Id: I6882026403d00f8b254aab34c645f1cf8f9fcc2d Reviewed-by: Taylor Braun-Jones <taylor@braun-jones.org> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/printsupport')
0 files changed, 0 insertions, 0 deletions