qt5base-lts/tests/auto/corelib/kernel
Olivier Goffart 87679491cb Do not call QueuedConnection slot on partialy destroyed object
This is a regression introduced in Qt 4.8
When QApplication::processEvents is called from a destructor, it is
possible that pending events would still be called on the already
destroyed subclass.
Prevent that by using the same pattern as in QMetaObject::activate

Change-Id: Ida50db07ae089264402dafcde7a41a066479d08b
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2011-12-19 14:06:12 +01:00
..
qcoreapplication Fixed compile of autotests with -qtnamespace. 2011-11-18 00:07:51 +01:00
qeventloop Remove TESTED_CLASS/TESTED_FILES comments from tests. 2011-12-06 02:19:25 +01:00
qitemmodel Remove TESTED_CLASS/TESTED_FILES comments from tests. 2011-12-06 02:19:25 +01:00
qmath Cleanup corelib autotests 2011-11-11 02:45:05 +01:00
qmetaobject Remove TESTED_CLASS/TESTED_FILES comments from tests. 2011-12-06 02:19:25 +01:00
qmetaobjectbuilder qtbase tests: Fix some warnings 2011-11-21 09:58:23 +01:00
qmetaproperty Cleanup corelib autotests 2011-11-11 02:45:05 +01:00
qmetatype Cleanup corelib autotests 2011-11-25 07:56:16 +01:00
qmimedata Fix linking of autotests on Windows. 2011-11-29 12:28:30 +01:00
qobject Do not call QueuedConnection slot on partialy destroyed object 2011-12-19 14:06:12 +01:00
qpointer Remove QMetaObject guards and deprecate QPointer. 2011-12-10 16:11:48 +01:00
qsignalmapper Remove TESTED_CLASS/TESTED_FILES comments from tests. 2011-12-06 02:19:25 +01:00
qsocketnotifier Re-enable the corelib autotests on Mac OS X 2011-11-21 11:31:35 +01:00
qtimer Remove TESTED_CLASS/TESTED_FILES comments from tests. 2011-12-06 02:19:25 +01:00
qtranslator Remove TESTED_CLASS/TESTED_FILES comments from tests. 2011-12-06 02:19:25 +01:00
qvariant Remove TESTED_CLASS/TESTED_FILES comments from tests. 2011-12-06 02:19:25 +01:00
qwineventnotifier Remove TESTED_CLASS/TESTED_FILES comments from tests. 2011-12-06 02:19:25 +01:00
kernel.pro Move QAbstractItemModel into a separate directory. 2011-12-13 02:23:42 +01:00