[vlc-devel] [vlc-commits] commit: qt4: Don't create QMenu without parents (Erwan Tulou )

Jean-Baptiste Kempf jb at videolan.org
Tue Apr 6 16:58:12 CEST 2010


On Tue, Apr 06, 2010 at 04:56:06PM +0200, git at videolan.org wrote :
> vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Tue Apr  6 16:40:11 2010 +0200| [8d8bd80666aff8073f1ccd37a41cd1786096b0c3] | committer: Erwan Tulou 
> 
> qt4: Don't create QMenu without parents
> 

There is NO reason that this root object needs to be a QWidget except to
introduce visual artefacts.

Parenting is a feature of QObject, not of QWidget


Best Regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/



More information about the vlc-devel mailing list