Commit 41457d44 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf

Qt: activate the renderer dialog via the menu

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent dfe8d1a0
......@@ -93,6 +93,9 @@ void ActionsManager::doAction( int id_action )
if( p_intf->p_sys->p_mi )
p_intf->p_sys->p_mi->getFullscreenControllerWidget()->toggleFullwidth();
break;
case RENDERER_ACTION:
THEDP->rendererDialog(); break;
break;
default:
msg_Warn( p_intf, "Action not supported: %i", id_action );
break;
......
......@@ -59,6 +59,7 @@ typedef enum actionType_e
LOOP_ACTION,
INFO_ACTION,
OPEN_SUB_ACTION,
RENDERER_ACTION,
} actionType_e;
class ActionsManager : public QObject, public Singleton<ActionsManager>
......
......@@ -428,6 +428,11 @@ QMenu *VLCMenuBar::ToolsMenu( intf_thread_t *p_intf, QMenu *menu )
"Ctrl+Shift+W" );
#endif
#if defined(ENABLE_SOUT)
addDPStaticEntry( menu, qtr( I_MENU_RENDERER ), "", SLOT( rendererDialog() ),
"Ctrl+Shift+R" );
#endif
addDPStaticEntry( menu, qtr( "Program Guide" ), "", SLOT( epgDialog() ),
"" );
......
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