Commit 98f1ae98 authored by Hannes Domani's avatar Hannes Domani Committed by Jean-Baptiste Kempf

Qt: fix memory leak

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent cc04815c
...@@ -111,7 +111,7 @@ OpenDialog::OpenDialog( QWidget *parent, ...@@ -111,7 +111,7 @@ OpenDialog::OpenDialog( QWidget *parent,
selectButton = new QPushButton( qtr( "&Select" ) ); selectButton = new QPushButton( qtr( "&Select" ) );
/* Menu for the Play button */ /* Menu for the Play button */
QMenu * openButtonMenu = new QMenu( "Open" ); QMenu * openButtonMenu = new QMenu( "Open", playButton );
openButtonMenu->addAction( qtr( "&Enqueue" ), this, SLOT( enqueue() ), openButtonMenu->addAction( qtr( "&Enqueue" ), this, SLOT( enqueue() ),
QKeySequence( "Alt+E" ) ); QKeySequence( "Alt+E" ) );
openButtonMenu->addAction( qtr( "&Play" ), this, SLOT( play() ), openButtonMenu->addAction( qtr( "&Play" ), this, SLOT( play() ),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment