qt6-bb10/tests/auto
Sergio Martins c082d84d5d Fix QLabel crash if buddy's lifetime is too short
If buddy is deleted then QLabel will still try to deliver the
shortcut event to it, in QLabel::event(), and cras.

Besides connecting to destroyed() which alone fixes the crash,
also hardened it and guarded against dereferencing null buddy,
in the unlikely event of someone adding features to QLabel.

The second part is suitable for backporting to the LTS branches.

Task-Id: QTBUG-66841
Change-Id: Ib6a36a9f99cee31afe1f88eb77f5b6cafb8b1086
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
2018-03-08 22:36:49 +00:00
..
android
bic/data Add binary compatibility files for QtBase for 5.10 2018-01-04 16:26:32 +00:00
cmake CMake: Set SKIP_AUTOMOC/AUTOUIC where needed 2017-11-22 13:51:30 +00:00
compilerwarnings/data
concurrent Fix of flaky qFutureAssignmentLeak test 2018-02-15 16:24:38 +00:00
corelib QLocale: Update the system private on QLocale default constructor if needed 2018-03-02 09:52:14 +00:00
dbus Merge remote-tracking branch 'origin/5.9' into 5.11 2018-02-14 12:51:24 +01:00
gui QStandardItem: add more sanity checks on insertRow(s)/Column(s) 2018-03-07 18:36:15 +00:00
guiapplauncher
installed_cmake
network tst_QLocalSocket: Fix not showing error output in processConnection 2018-03-01 09:37:58 +00:00
opengl Remove tst_QGLThreads::textureUploadInThread 2018-03-02 07:20:32 +00:00
other Make a benchmark out of tst_QObjectPerformance::emitToManyReceivers 2018-03-07 19:43:52 +00:00
printsupport Convert features.completer to QT_[REQUIRE_]CONFIG 2017-09-04 11:28:02 +00:00
shared
sql SQL/Postgres: Fix support for nan, inf and -inf 2018-03-07 18:35:57 +00:00
testlib QTestlib/selftests: Fix failures due to logging system output 2018-03-02 08:16:21 +00:00
tools uic: Add the include for QIcon conditionally 2018-03-06 06:49:00 +00:00
widgets Fix QLabel crash if buddy's lifetime is too short 2018-03-08 22:36:49 +00:00
xml Don't indefinitely wait for data if it was able to read some data 2018-01-24 05:54:31 +00:00
auto.pro tests/auto/auto.pro: Use correct null device for DBUS check 2017-12-01 09:53:07 +00:00
network-settings.h