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> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| BLACKLIST | ||
| qgraphicsview.pro | ||
| tst_qgraphicsview.cpp | ||
| tst_qgraphicsview.h | ||
| tst_qgraphicsview_2.cpp | ||