summaryrefslogtreecommitdiffstats
path: root/tests/baselineserver
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-09-30 22:21:37 +0200
committerMarc Mutz <marc.mutz@kdab.com>2016-10-11 20:52:42 +0000
commitf6498fd6776b08b6bd33395e3f716b6d5d79a8b8 (patch)
treedc9bc1507129030a583cbfc9594cdecd06d5eea2 /tests/baselineserver
parent6d6074e04fa55a0e42c7d8970f6db1cc3913a26e (diff)
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>
Diffstat (limited to 'tests/baselineserver')
0 files changed, 0 insertions, 0 deletions