qt5base-lts/tests/auto/widgets
Giuseppe D'Angelo b2b9fdfda0 QSizeGrip: use a QPointer to the tracked TLW
And not a normal pointer. The problem is that in certain scenarios,
if the TLW containing a QSizeGrip changes and the old TLW gets
immediately destroyed, then the mechanism which updates the tracked
TLW is run too late, and ends up accessing a dangling pointer.
Therefore, we need to protect that pointer via a smart pointer.

Task-number: QTBUG-22867
Change-Id: Icfb051132bacde604f660ac7a98bc0a9d1022c68
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
2014-09-15 20:50:50 +02:00
..
dialogs Ensure transient parents are top level widgets. 2014-07-18 09:25:05 +02:00
effects QtWidgets tests: Remove DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 2013-03-28 02:02:14 +01:00
graphicsview Stabilize and speed up tst_QGraphicsItem::cursor(). 2014-05-22 21:44:01 +02:00
itemviews Fix visual index lookup in QTreeViewPrivate::adjustViewOptionsForIndex(). 2014-05-06 16:35:56 +02:00
kernel Avoid adding widget to its own layout 2014-09-05 00:05:45 +02:00
styles Uncomment some tests which accidently got commented 2014-08-07 10:08:51 +02:00
util QNX: Fix QCompleter autotest 2014-04-09 20:53:06 +02:00
widgets QSizeGrip: use a QPointer to the tracked TLW 2014-09-15 20:50:50 +02:00
widgets.pro Moved tests into integrationtests/ and widgets/ 2011-10-20 19:45:41 +02:00