[vlc-devel] commit: FSC memory leaks ( Rémi Denis-Courmont )
Jean-Baptiste Kempf
jb at videolan.org
Tue Feb 10 20:20:19 CET 2009
On Tue, Feb 10, 2009 at 08:05:23PM +0100, git version control wrote :
> vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Tue Feb 10 21:05:01 2009 +0200| [1463e7cbbc437f8e7b4ab246861ae55ddadeb763] | committer: Rémi Denis-Courmont
>
> FSC memory leaks
Adding a parent at creation is useless, if you are adding the widget a
layout, because the layout will reparent it, according to the doc. So,
to me, most of this commit is useless.
Maybe I am wrong.
"When you use a layout, you don't need to pass a parent when
constructing the child widgets. The layout will automatically reparent
the widgets (using QWidget::setParent()) so that they are children of
the widget on which the layout is installed."
Best Regards,
--
Jean-Baptiste Kempf
http://www.jbkempf.com/
More information about the vlc-devel
mailing list