vlc | branch: master | Hannes Domani <ssb...@yahoo.de> | Fri Jul  3 14:34:41 
2015 +0200| [98f1ae98a639f465b756fa881f873e9892e38964] | committer: 
Jean-Baptiste Kempf

Qt: fix memory leak

Signed-off-by: Jean-Baptiste Kempf <j...@videolan.org>

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

 modules/gui/qt4/dialogs/open.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt4/dialogs/open.cpp b/modules/gui/qt4/dialogs/open.cpp
index d080dac..224cfa5 100644
--- a/modules/gui/qt4/dialogs/open.cpp
+++ b/modules/gui/qt4/dialogs/open.cpp
@@ -111,7 +111,7 @@ OpenDialog::OpenDialog( QWidget *parent,
     selectButton = new QPushButton( qtr( "&Select" ) );
 
     /* Menu for the Play button */
-    QMenu * openButtonMenu = new QMenu( "Open" );
+    QMenu * openButtonMenu = new QMenu( "Open", playButton );
     openButtonMenu->addAction( qtr( "&Enqueue" ), this, SLOT( enqueue() ),
                                     QKeySequence( "Alt+E" ) );
     openButtonMenu->addAction( qtr( "&Play" ), this, SLOT( play() ),

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to