qt5base-lts/tests/auto
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
..
bic/data Add binary compatibility files for Qt5.13.0 for QtBase 2019-08-15 04:19:39 +00:00
cmake CMake: Add support for auto-importing plugins in CMake 2019-08-12 18:23:58 +02:00
concurrent Get rid of QT_STRICT_ITERATORS 2019-11-04 12:52:26 +00:00
corelib Merge remote-tracking branch 'origin/5.15' into dev 2019-12-11 14:50:53 +01:00
dbus Merge remote-tracking branch 'origin/5.15' into dev 2019-11-25 11:30:04 +01:00
gui Merge remote-tracking branch 'origin/5.15' into dev 2019-12-11 14:50:53 +01:00
guiapplauncher Fix path to examples part of tst_GuiAppLauncher 2015-02-13 07:28:15 +00:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network Merge remote-tracking branch 'origin/5.15' into dev 2019-12-11 14:50:53 +01:00
opengl Remove deprecated QGL* classes 2019-12-11 11:53:15 +01:00
other Inline the size and data pointer members in QString 2019-12-08 18:19:50 +01:00
printsupport Remove the remaining usages of deprecated APIs of qtbase 2019-08-01 06:48:27 +02:00
shared QWindowsFontDatabase: Check preferred family names for all fonts 2019-11-29 09:31:21 +01:00
sql Merge remote-tracking branch 'origin/5.14' into 5.15 2019-12-10 13:51:40 +02:00
testlib Merge remote-tracking branch 'origin/5.15' into dev 2019-11-25 11:30:04 +01:00
tools Fix tst_moc for C++17 2019-12-06 16:19:27 +01:00
widgets Convert date-time faithfully in QDateTimeEdit::setDateTime() 2019-12-12 11:36:01 +01:00
xml Merge remote-tracking branch 'origin/5.15' into dev 2019-11-27 08:41:33 +01:00
auto.pro Disable tests with qemu-arm & developer-build configurations in the CI 2019-10-03 15:12:33 +00:00
network-settings.h test: migrate QNetworkReply test to QRegularExpression 2019-06-10 16:49:19 +02:00