[vlc-commits] Qt: fix audio menu crash
Jean-Baptiste Kempf
git at videolan.org
Fri Jan 17 17:39:15 CET 2014
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jan 17 17:36:31 2014 +0100| [987d6cf967cc70752493428496a16d4c62c56044] | committer: Jean-Baptiste Kempf
Qt: fix audio menu crash
Close #9674
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=987d6cf967cc70752493428496a16d4c62c56044
---
modules/gui/qt4/menus.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index be7c878..1a188de 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -610,7 +610,8 @@ QMenu *VLCMenuBar::AudioMenu( intf_thread_t *p_intf, QMenu * current )
if( current->isEmpty() )
{
addActionWithSubmenu( current, "audio-es", qtr( "Audio &Track" ) );
- audioDeviceMenu = current->addMenu( qtr( "Audio &Device" ) );
+ audioDeviceMenu = new QMenu( qtr( "Audio &Device" ) );
+ current->addMenu( audioDeviceMenu );
addActionWithSubmenu( current, "stereo-mode", qtr( "&Stereo Mode" ) );
current->addSeparator();
More information about the vlc-commits
mailing list