summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2018-11-15 17:59:18 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2018-11-27 14:23:25 +0000
commit4e01b851159342122d42be1091d4cfa464700a4e (patch)
treeca231f1de255ddd4251801c5a26525882ccdb56c /tests/auto/widgets
parentd41879db384905c47c8fca976ae70ad6595de41f (diff)
QDateTimeEdit: fix setDate() if time is in a spring-forward
If the time the widget is set to use falls in the gap skipped by a spring-forward, setting the date to the day of the spring-forward turned a valid date into an invalid date-time. So use the usual trick to map the "draft" date-time to a valid one. Fixes: QTBUG-64485 Fixes: QTBUG-58947 Change-Id: Ib8f0f092cd5d6dce3da31eb52cd42150ca0d1fcb Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'tests/auto/widgets')
0 files changed, 0 insertions, 0 deletions