After the QGraphicsWidgets have been dealt with in a previous commit, the last leak in the function is that of 'item'. Fix by holding it in a unique_ptr. Amends the start of the public history. Pick-to: 6.8 6.5 5.15 Change-Id: I56986139a2b7865cf367bdd25ccde90d5e1c50ca Reviewed-by: Axel Spoerl <axel.spoerl@qt.io> (cherry picked from commit 59b18d07e78be0b57c8bb7c9078e89c686ddf0f3) 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%