qt5base-lts/tests/auto/corelib
Giuseppe D'Angelo 20993adffd QSharedPointer: make QT_SHAREDPOINTER_TRACK_POINTERS work with QObjects
If setQObjectShared crashes because a QObject is tracked by two
different QSharedPointers, we lose the debug feature offered by #defining
QT_SHAREDPOINTER_TRACK_POINTERS, as the check done by this define
happens after the setQObjectShared call.

Therefore, move setQObjectShared after the internalSafetyCheckAdd call.

This is actually a noop change in 5.0, as setQObjectShared does nothing.
However it prevents a bug in case the Qt 4 behaviour is brought back
in some later version.

Change-Id: I71340d0f878828354537762d01c46d441efc918c
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2012-08-28 21:18:17 +02:00
..
animation Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
codecs ICU: Fix crash in codecForMib(2107) 2012-08-23 11:20:37 +02:00
global Do not consider sign in qIsNull. 2012-08-22 04:04:57 +02:00
io QUrl: port thread-safety autotest from Qt4. 2012-08-26 11:08:42 +02:00
itemmodels Emit layoutChange signals when changing QPersistentModelIndexes. 2012-08-18 08:34:53 +02:00
json Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
kernel Remove QWidgetStar. 2012-08-18 10:55:47 +02:00
mimetypes Remove more -Werror from any test other than headersclean. 2012-08-07 23:27:17 +02:00
plugin Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
statemachine statemachine: Really fix signal transition handling in multi-threaded setup 2012-08-08 14:13:53 +02:00
thread tst_QMutex: add markers to the tryLock tests 2012-08-23 11:20:37 +02:00
tools QSharedPointer: make QT_SHAREDPOINTER_TRACK_POINTERS work with QObjects 2012-08-28 21:18:17 +02:00
xml A few more random documentation fixes 2012-08-23 02:55:17 +02:00
corelib.pro Import QMimeType / QMimeDatabase into QtCore. 2012-02-18 22:19:43 +01:00