qt6-bb10/tests/auto/widgets
Marc Mutz f6498fd677 Plug more than 4k leaks in tst_QGraphicsView
The vast majority is due to leaking styles in a data-driven
test with almost 100 rows (scrollBarRanges()).

Fix by creating the style into a QScopedPointer.

The remaining ~500 leaks were due to leaked QGraphicsScenes.
They had no parent, and QGraphicsView::addScene() does not
adopt them.

Fix those by passing the resp. view as their (QObject) parent.

Change-Id: I4316798019114ea3d7504d72cd83d534a21149c0
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
2016-10-11 20:52:42 +00:00
..
dialogs tst_QFileSystemModel: Remove Win32LongFileName(). 2016-06-08 04:09:48 +00:00
effects Purge sRGB chunks from PNGs in tests. 2016-03-29 08:39:43 +00:00
gestures Autotest: Remove blacklistings 2016-04-01 05:41:21 +00:00
graphicsview Plug more than 4k leaks in tst_QGraphicsView 2016-10-11 20:52:42 +00:00
itemviews QAbstractItemView: use only a 1x1 QRect for selecting on mouse press 2016-10-07 10:38:58 +00:00
kernel tst_QShortcut: Fix UB (invalid cast) in shortcutDestroyed() 2016-10-05 17:47:09 +00:00
styles Plug remaining leaks in tests/auto/widgets/style 2016-09-30 10:45:34 +00:00
util Plug remaining leaks in tests/auto/widgets/util 2016-10-02 11:28:23 +00:00
widgets Plug memleak in tst_QStackedWidget 2016-10-05 17:45:49 +00:00
widgets.pro Add autotest for QGestureRecognizer. 2014-10-23 21:11:28 +02:00