qt6-bb10/tests/auto/corelib/kernel
Simon Hausmann 7c029e83a3 Fix invalid memory read when shutting down QML applications
As the last line in the QObject destructor, we call setParentHelper(0) to
remove ourselves from the parent. In the process of that we also initiate the
QML parentChanged callback. The first thing that parentChanged callback used to
do (but now does it too late, after 26350b5ceafa0ade1328037f6234a7d288eb8f48 in
qtdeclarative) is to check if the object was deleted and then return. We could
re-introduce the check there, but I think it's cleaner to not bother calling
the callback on a dead object in the first place.

Change-Id: Ia4d43b65a9b3744a451b4c312a2d6f9c0e3b67dc
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
2013-11-29 09:54:47 +01:00
..
qcoreapplication Base tst_QGuiApplication on tst_QCoreApplication to increase GUI ED coverage 2013-10-01 18:00:17 +02:00
qeventdispatcher Don't send posted events from QWindowSystemInterface::sendWindowSystemEvents 2013-09-16 15:22:40 +02:00
qeventloop Merge remote-tracking branch 'origin/stable' into dev 2013-08-14 09:06:31 +02:00
qmath Fix qmath autotest for arm 2013-03-14 19:49:38 +01:00
qmetamethod QMetaMethod and QDBusMetaObject: Give public access to signal methods 2013-09-09 16:21:10 +02:00
qmetaobject Test that QMetaObject::invokeMethod is exception safe 2013-11-05 17:37:05 +01:00
qmetaobjectbuilder don't erroneously claim that gui support is needed 2013-10-16 17:10:15 +02:00
qmetaproperty Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qmetatype Core: QDebug and comparison operator support metatypes. 2013-05-27 19:58:19 +02:00
qmimedata tests: Fix some more old references and links to Nokia 2013-02-01 15:27:37 +01:00
qobject Fix invalid memory read when shutting down QML applications 2013-11-29 09:54:47 +01:00
qpointer don't erroneously claim that gui support is needed 2013-10-16 17:10:15 +02:00
qsharedmemory Skip unstable autotest 2013-03-12 18:13:37 +01:00
qsignalmapper don't erroneously claim that gui support is needed 2013-10-16 17:10:15 +02:00
qsocketnotifier Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qsystemsemaphore Check existence of QProcess feature before using it on Qt autotests. 2013-01-28 16:06:15 +01:00
qtimer Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qtranslator tst_qtranslator: Remove QT_DISABLE_DEPRECATED_BEFORE=0 2013-04-12 07:20:05 +02:00
qvariant QVariant: Convert automatically from enum types to integral types. 2013-11-08 16:45:26 +01:00
qwineventnotifier remove qt_windows.h include from qwineventnotifier.h 2013-10-29 19:59:17 +01:00
kernel.pro exclude gui-needing tests from -no-gui build 2013-10-18 20:05:27 +02:00