Commit 309358ed authored by Erwan Tulou's avatar Erwan Tulou

Qt: add entries in the popupmenu for lua extensions (dialog provider only)

parent 2b417691
...@@ -1073,6 +1073,7 @@ void VLCMenuBar::PopupMenu( intf_thread_t *p_intf, bool show ) ...@@ -1073,6 +1073,7 @@ void VLCMenuBar::PopupMenu( intf_thread_t *p_intf, bool show )
submenu->setTitle( qtr( "Interface" ) ); submenu->setTitle( qtr( "Interface" ) );
if( p_intf->p_sys->b_isDialogProvider ) if( p_intf->p_sys->b_isDialogProvider )
{ {
/* list of skins available */
vlc_object_t* p_object = p_intf->p_parent; vlc_object_t* p_object = p_intf->p_parent;
objects.clear(); varnames.clear(); objects.clear(); varnames.clear();
...@@ -1084,6 +1085,12 @@ void VLCMenuBar::PopupMenu( intf_thread_t *p_intf, bool show ) ...@@ -1084,6 +1085,12 @@ void VLCMenuBar::PopupMenu( intf_thread_t *p_intf, bool show )
objects.append( p_object ); objects.append( p_object );
varnames.append( "intf-skins-interactive" ); varnames.append( "intf-skins-interactive" );
Populate( p_intf, submenu, varnames, objects ); Populate( p_intf, submenu, varnames, objects );
submenu->addSeparator();
/* Extensions */
ExtensionsMenu( p_intf, submenu );
} }
else else
msg_Warn( p_intf, "could not find parent interface" ); msg_Warn( p_intf, "could not find parent interface" );
......
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