[vlc-commits] commit: qt4: fix another QMenu without parent (Erwan Tulou )

git at videolan.org git at videolan.org
Wed Apr 7 17:51:38 CEST 2010


vlc | branch: master | Erwan Tulou <erwan10 at videolan.org> | Wed Apr  7 11:40:18 2010 +0200| [ad7b72f83902df4e11d0d198377463a607359567] | committer: Erwan Tulou 

qt4: fix another QMenu without parent

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ad7b72f83902df4e11d0d198377463a607359567
---

 modules/gui/qt4/extensions_manager.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/extensions_manager.cpp b/modules/gui/qt4/extensions_manager.cpp
index b40d7fd..c4b8978 100644
--- a/modules/gui/qt4/extensions_manager.cpp
+++ b/modules/gui/qt4/extensions_manager.cpp
@@ -152,7 +152,7 @@ void ExtensionsManager::menu( QMenu *current )
 
         if( b_Active && extension_HasMenu( p_extensions_manager, p_ext ) )
         {
-            QMenu *submenu = new QMenu( qfu( p_ext->psz_title ) );
+            QMenu *submenu = new QMenu( qfu( p_ext->psz_title ), current );
             char **ppsz_titles = NULL;
             uint16_t *pi_ids = NULL;
             size_t i_num = 0;



More information about the vlc-commits mailing list