The QGraphicsWidget `parent` didn't have a parent itself, and the test function neglected to delete the object manually, leaking it. To fix, allocate it on the stack. Amends the start of the public history. Pick-to: 6.8 6.5 5.15 Change-Id: Ie9814655c1a52b6dc0d15076eca591fe710d51ae Reviewed-by: Axel Spoerl <axel.spoerl@qt.io> (cherry picked from commit 76e76afb83b87664aeeaf61b400e4259ce80f49a) 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%