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

Qt: fix memory leak

Signed-off-by: Jean-Baptiste Kempf <j...@videolan.org>
(cherry picked from commit 98f1ae98a639f465b756fa881f873e9892e38964)
Signed-off-by: Jean-Baptiste Kempf <j...@videolan.org>

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

 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 56ea980..500e1e4 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