Commit 7a216cf6 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fix a crash when using the skins

parent 116c1df8
...@@ -958,6 +958,7 @@ void VLCMenuBar::MiscPopupMenu( intf_thread_t *p_intf, bool show ) ...@@ -958,6 +958,7 @@ void VLCMenuBar::MiscPopupMenu( intf_thread_t *p_intf, bool show )
{ {
POPUP_BOILERPLATE POPUP_BOILERPLATE
menu = new QMenu();
if( p_input ) if( p_input )
{ {
varnames.append( "audio-es" ); varnames.append( "audio-es" );
...@@ -965,7 +966,6 @@ void VLCMenuBar::MiscPopupMenu( intf_thread_t *p_intf, bool show ) ...@@ -965,7 +966,6 @@ void VLCMenuBar::MiscPopupMenu( intf_thread_t *p_intf, bool show )
menu->addSeparator(); menu->addSeparator();
} }
menu = new QMenu();
Populate( p_intf, menu, varnames, objects ); Populate( p_intf, menu, varnames, objects );
menu->addSeparator(); menu->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