qt5base-lts/tests/auto/widgets
Edward Welbourne 2a653fde48 Convert date-time faithfully in QDateTimeEdit::setDateTime()
Previously, setDateTime() was documented to ignore the new date-time's
time-spec. It used the date and time (determined using that timespec)
with the QDateTimeEdit's configured spec. It is debatable whether that
really counts as ignoring its time-spec. All the same, that's what it
did. Fixing it is a behavior change. Added tests.

[ChangeLog][QtWidgets][QDateTimeEdit] QDateTimeEdit::setDateTime() now
converts the new datetime to the QDateTimeEdit's time-spec, rather
than combining its date and time (determined using the time spec it
came with) with the QDateTimeEdit's date and time.

Fixes: QTBUG-71181
Change-Id: Ibf0bd87723c3957ca00a2199d51d992032ef57ee
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Konstantin Shegunov <kshegunov@gmail.com>
2019-12-12 11:36:01 +01:00
..
dialogs Merge remote-tracking branch 'origin/5.15' into dev 2019-12-11 14:50:53 +01:00
effects tst_qgraphicseffect: Wait for exposed instead of active 2019-10-15 20:39:32 +02:00
graphicsview Merge remote-tracking branch 'origin/5.15' into dev 2019-11-29 01:01:08 +01:00
itemviews Merge remote-tracking branch 'origin/5.15' into dev 2019-12-04 01:00:23 +01:00
kernel Merge remote-tracking branch 'origin/5.15' into dev 2019-12-11 14:50:53 +01:00
styles Widget tests: Skip tests that fail on Wayland 2019-10-18 10:53:34 +02:00
util Widget tests: Skip tests that fail on Wayland 2019-10-18 10:53:34 +02:00
widgets Convert date-time faithfully in QDateTimeEdit::setDateTime() 2019-12-12 11:36:01 +01:00
widgets.pro Move QGestureRecognizer test to widgets/kernel 2017-06-02 18:36:11 +00:00