Commit d9ad3782 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: fix a crash when using the skins

(cherry picked from commit 7a216cf685a834d038da9b474271687167c10441)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 6044d094
......@@ -950,6 +950,7 @@ void VLCMenuBar::MiscPopupMenu( intf_thread_t *p_intf, bool show )
{
POPUP_BOILERPLATE
menu = new QMenu();
if( p_input )
{
varnames.append( "audio-es" );
......@@ -957,7 +958,6 @@ void VLCMenuBar::MiscPopupMenu( intf_thread_t *p_intf, bool show )
menu->addSeparator();
}
menu = new QMenu();
Populate( p_intf, menu, varnames, objects );
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