Commit 987d6cf9 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fix audio menu crash

Close #9674
parent b402de62
...@@ -610,7 +610,8 @@ QMenu *VLCMenuBar::AudioMenu( intf_thread_t *p_intf, QMenu * current ) ...@@ -610,7 +610,8 @@ QMenu *VLCMenuBar::AudioMenu( intf_thread_t *p_intf, QMenu * current )
if( current->isEmpty() ) if( current->isEmpty() )
{ {
addActionWithSubmenu( current, "audio-es", qtr( "Audio &Track" ) ); 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" ) ); addActionWithSubmenu( current, "stereo-mode", qtr( "&Stereo Mode" ) );
current->addSeparator(); current->addSeparator();
......
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