qt5base-lts/tests/auto/widgets/graphicsview
Marc Mutz 0e888ae1a1 tst_QGraphicsItem: plug remaining leaks
Store QGraphicsItems that are either not added to a scene or
removed from it again and that are also not children of other
items - iow: those that were leaked, even on successful runs
of the tests, in either a QScopedPointer, or, where that'd
cause too much churn due to adding of .data() calls, back the
pointer by a stack-allocated object.

This fixes the remaining leaks reported by GCC 6.2.1's ASan on
successful runs of tests/auto/widgets/graphicsview/qgraphicsitem.

Change-Id: I61c3a1cd39b9e96e83c5d7b8cf392e0b26ecbaf0
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Sérgio Martins <sergio.martins@kdab.com>
2016-10-22 10:20:14 +00:00
..
qgraphicsanchorlayout tests/auto/widgets: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 11:50:10 +00:00
qgraphicsanchorlayout1 tests/auto/widgets: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 11:50:10 +00:00
qgraphicseffectsource Update copyright headers 2015-02-11 06:49:51 +00:00
qgraphicsgridlayout Update copyright headers 2015-02-11 06:49:51 +00:00
qgraphicsitem tst_QGraphicsItem: plug remaining leaks 2016-10-22 10:20:14 +00:00
qgraphicsitemanimation Update copyright headers 2015-02-11 06:49:51 +00:00
qgraphicslayout tests/auto/widgets: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 11:50:10 +00:00
qgraphicslayoutitem Update copyright headers 2015-02-11 06:49:51 +00:00
qgraphicslinearlayout Remove empty first lines of files. 2016-04-06 18:26:26 +00:00
qgraphicsobject tests/auto/widgets: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 11:50:10 +00:00
qgraphicspixmapitem Update copyright headers 2015-02-11 06:49:51 +00:00
qgraphicspolygonitem Update copyright headers 2015-02-11 06:49:51 +00:00
qgraphicsproxywidget Fix memory leak in tst_qgraphicsproxywidget 2016-08-10 11:06:31 +00:00
qgraphicsscene tests/auto/widgets: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 11:50:10 +00:00
qgraphicssceneindex Update copyright headers 2015-02-11 06:49:51 +00:00
qgraphicstransform Update copyright headers 2015-02-11 06:49:51 +00:00
qgraphicsview Plug more than 4k leaks in tst_QGraphicsView 2016-10-11 20:52:42 +00:00
qgraphicswidget Autotest: Enable make check on rhel 7.1 2016-02-11 05:47:38 +00:00
graphicsview.pro Re-enable tests tst_qgraphicsproxywidget, tst_qgraphicswidget. 2013-07-24 22:16:58 +02:00