qt5base-lts/tests/auto/corelib/tools
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
..
qalgorithms Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qarraydata Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qbitarray Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qbytearray Fix tst_qbytearray on QNX 2012-08-15 15:19:55 +02:00
qbytearraymatcher Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qcache Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qchar Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qcontiguouscache Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qcryptographichash Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qdate Handle invalid dates properly for QDataStream versions < 5. 2012-08-28 18:23:06 +02:00
qdatetime Disregard milliseconds in QTime::secsTo(). 2012-08-21 11:05:20 +02:00
qeasingcurve Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qelapsedtimer Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qexplicitlyshareddatapointer Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qfreelist Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qhash Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qline Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qlist Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qlocale Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qmap Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qmargins Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qpair Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qpoint Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qpointf Do not consider sign in qIsNull. 2012-08-22 04:04:57 +02:00
qqueue Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qrect Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qregexp Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qregularexpression Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qringbuffer Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qscopedpointer Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qscopedvaluerollback Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qset Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qsharedpointer QSharedPointer: make QT_SHAREDPOINTER_TRACK_POINTERS work with QObjects 2012-08-28 21:18:17 +02:00
qsize Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qsizef Do not consider sign in qIsNull. 2012-08-22 04:04:57 +02:00
qstl Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qstring Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qstring_no_cast_from_bytearray Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qstringbuilder Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qstringlist Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qstringmatcher Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qstringref Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qtextboundaryfinder Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qtime Disregard milliseconds in QTime::secsTo(). 2012-08-21 11:05:20 +02:00
qtimeline Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qvarlengtharray Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qvector Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
tools.pro Improve QPoint and QPointF auto tests. 2012-07-11 14:52:17 +02:00