Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
5.15.0 RC2
-
None
Description
I have a widget and inside it I declare a QBoxLayout and place some children widgets. When the parent gets destroyed, the children persist. No destructor is called to them, like they were not parented correctly.
To do the parenting of the QBoxLayout, I used the setting of the parent through the constructor, but not the setLayout. According to documentation, these operations should be equivalent.
Although visually the behavior is correct, valgrind reported memory leak.