qt5base-lts/tests/auto/corelib/kernel
Giuseppe D'Angelo cc89509f83 Delete the QSlotObject when disconnect()ing
When disconnect()ing through a QMetaObject::Connection,  if the
QObjectPrivate::Connection contains a slot object, deref it, so
that it will be destroyed before the next run of cleanConnectionList.

Previously, a copy of the functor passed to connect() was kept until
QObjectPrivate::cleanConnectionLists was called (by adding a new signal,
or the sender was destroyed), even after a successful call to
disconnect(). That is, we were keeping that copy allocated without
any good reason.

Change-Id: Ie6074ea797df1611cb995dec07c5b5a742360833
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
2012-12-17 19:50:33 +01:00
..
qcoreapplication Test: remove QSKIP in tst_QCoreApplication::argc 2012-10-16 15:29:15 +02:00
qeventdispatcher Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qeventloop Test: remove QSKIP in tst_QEventLoop::throwInExec() 2012-10-29 13:57:09 +01:00
qmath Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qmetamethod Core/kernel: Make some signals private. 2012-10-25 15:56:14 +02:00
qmetaobject Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qmetaobjectbuilder Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qmetaproperty tst_QMetaProperty doesn't need QtGui 2012-11-22 14:54:31 +01:00
qmetatype Remove MSVC2012-optimization for the QMetaType-test. 2012-12-14 15:06:22 +01:00
qmimedata Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qobject Delete the QSlotObject when disconnect()ing 2012-12-17 19:50:33 +01:00
qpointer Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qsharedmemory move QSharedMemory autotest from qtscript to qtbase 2012-11-07 16:25:47 +01:00
qsignalmapper normalise signal/slot signatures [QtCore tests] 2012-10-22 03:21:01 +02:00
qsocketnotifier Test: remove QSKIP from tst_QSocketNotifier::posixSockets 2012-10-16 20:43:37 +02:00
qsystemsemaphore Fixed QSystemSemaphore autotest for "check" target 2012-11-07 14:19:00 +01:00
qtimer Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qtranslator Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qvariant Fix QVariant streaming in Qt3 compatibility mode. 2012-11-24 14:55:30 +01:00
qwineventnotifier Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
kernel.pro Enabled QSystemSemaphore autotest 2012-11-08 08:26:19 +01:00