Commit 0c99373e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

qt4 - shortcuts corrections and enhancements.

parent 5858f28b
......@@ -63,9 +63,11 @@ void PlaylistDialog::createPlMenuBar( QMenuBar *bar, intf_thread_t *p_intf )
{
QMenu *manageMenu = new QMenu();
manageMenu->setTitle( qtr("Manage") );
manageMenu->addAction( "Open playlist file", THEDP, SLOT( openPlaylist() ));
manageMenu->addAction( "Open playlist file", THEDP, SLOT( openPlaylist() ),
qtr( "Ctrl+L") );
manageMenu->addSeparator();
manageMenu->addAction( "Dock playlist", this, SLOT( dock() ) );
manageMenu->addAction( "Dock playlist", this, SLOT( dock() ),
qtr( "Ctrl+U" ) );
bar->addMenu( manageMenu );
bar->addMenu( QVLCMenu::SDMenu( p_intf ) );
}
......
......@@ -200,7 +200,7 @@ QMenu *QVLCMenu::FileMenu()
DP_SADD( qtr("Open &Disc..." ), "", "", openDiscDialog(), "Ctrl+D" );
DP_SADD( qtr("Open &Network..." ), "", "", openNetDialog(), "Ctrl+N" );
DP_SADD( qtr("Open &Capture Device..." ), "", "", openCaptureDialog(),
"Ctrl+A" );
"Ctrl+C" );
menu->addSeparator();
DP_SADD( qtr("&Streaming..."), "", "", streamingDialog(), "Ctrl+S" );
menu->addSeparator();
......@@ -237,7 +237,7 @@ QMenu *QVLCMenu::ToolsMenu( intf_thread_t *p_intf, MainInterface *mi,
DP_SADD( qtr(I_MENU_MSG), "", "", messagesDialog(), "Ctrl+M" );
DP_SADD( qtr(I_MENU_INFO) , "", "", mediaInfoDialog(), "Ctrl+J" );
DP_SADD( qtr(I_MENU_CODECINFO) , "", "", mediaCodecDialog(), "Ctrl+I" );
DP_SADD( qtr(I_MENU_EXT), "","",extendedDialog(), "Ctrl+G" );
DP_SADD( qtr(I_MENU_EXT), "","",extendedDialog(), "Ctrl+E" );
if( mi )
{
menu->addSeparator();
......@@ -271,7 +271,8 @@ QMenu *QVLCMenu::InterfacesMenu( intf_thread_t *p_intf, QMenu *current )
if( !p_intf->pf_show_dialog )
{
menu->addSeparator();
menu->addAction( qtr("Switch to skins"), THEDP, SLOT(switchToSkins()) );
menu->addAction( qtr("Switch to skins"), THEDP, SLOT(switchToSkins()),
qtr("Ctrl+Z") );
}
CONNECT( menu, aboutToShow(), THEDP->menusUpdateMapper, map() );
......
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