The `form` graphics-widget has no parent and is not otherwise added to another object that would take ownership of it, so it was leaked, together with its children. To fix, simply create it on the stack. This is the minimally-invasive fix. Had I held it in unique_ptr instead, I would have had to touch the line creating `layout`, too. Creating it on the stack is simpler than make_unique(), so do that. Amends the start of the public history. Pick-to: 6.9 6.8 6.5 5.15 Change-Id: I4027dcb0c0650eb7556de96e6d1d20b98c14dc9a Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
…
…
Description
Languages
C++
84.3%
HTML
4.9%
C
3.9%
CMake
3.6%
Objective-C++
2%
Other
0.8%