QGraphicsView, being a QWidget, needs to have a parent or be manually deleted. The test function did neither, so leaked the view. Fix by allocating it on the stack. Amends 913ff732004c2c61c39bcdd82ff05ea1827f328b. Pick-to: 6.8 6.5 5.15 Change-Id: If012d4b833849285b62e2a4b4089457c2aef1d88 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io> (cherry picked from commit 9bab38b1330a4106e920b66538e4e14b795d33e2) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%