[vlc-commits] Qt: fix memory leak
Hannes Domani
git at videolan.org
Mon Jul 6 18:42:11 CEST 2015
vlc | branch: master | Hannes Domani <ssbssa at 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 <jb at 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() ),
More information about the vlc-commits
mailing list