qt6-bb10/src
Edward Welbourne 5d228beb52 Fix an assertion failure in massageAdjustedDateTime()
The QDateTimeData &d it's passed is a copy that's about to be
modified; before we do so, we haven't detached so its internals have a
ref-count of two, contradicting an assertion in the non-const
Data::operator->(); so just directly access d.d->m_timezone, since we
know that spec == TimeZone implies !isShort().
Added test that triggered the assertion and now doesn't.

Fixes: QTBUG-99668
Pick-to: 6.3 6.2 6.2.3 5.15
Change-Id: I07321ad91be5adce524be18e4ab82eee7110dc6a
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2022-01-13 19:47:22 +01:00
..
3rdparty SQLite: Update SQLite to v3.37.0 2022-01-06 13:55:53 +00:00
android Recognize system apps also when apk has parent directory 2021-12-08 19:22:36 +02:00
concurrent QtConcurrent::run crashes on program exit 2021-12-20 13:18:26 +01:00
corelib Fix an assertion failure in massageAdjustedDateTime() 2022-01-13 19:47:22 +01:00
dbus Doc: Use find_package(Qt6 REQUIRED COMPONENTS ...) idiom 2021-12-09 22:20:04 +01:00
entrypoint QtBase: replace windows.h with qt_windows.h 2021-11-23 12:53:46 +08:00
gui rhi: Add the basic infrastructure for tessellation support 2022-01-13 13:44:29 +01:00
network QSslSocket (SecureTransport) add TLS 1.3 ciphersuites 2022-01-12 22:27:21 +01:00
opengl Doc: Use find_package(Qt6 REQUIRED COMPONENTS ...) idiom 2021-12-09 22:20:04 +01:00
openglwidgets Migrate to autogenerated cpp exports 2021-06-25 19:33:12 +02:00
platformsupport evdevkeyboard: Try opening as read-write first 2021-12-08 13:45:34 +01:00
plugins QMacStyle: fix a regression introduced by a button type change 2022-01-12 22:27:21 +01:00
printsupport Doc: Use find_package(Qt6 REQUIRED COMPONENTS ...) idiom 2021-12-09 22:20:04 +01:00
sql Adapt SQL drivers to Qt 6 change of QVariant::isNull 2022-01-12 17:41:07 +01:00
testlib Make counts of various types of test result add up correctly 2022-01-13 19:47:22 +01:00
tools uic/Python: Import base class for flag values 2022-01-13 15:47:46 +01:00
widgets QApplication: port manual users of QMutableEventPoint 2022-01-13 09:19:23 +01:00
xml Doc: Use find_package(Qt6 REQUIRED COMPONENTS ...) idiom 2021-12-09 22:20:04 +01:00
CMakeLists.txt Make it possible to disable the PrintSupport module 2021-02-09 09:17:21 +01:00