Commit 3d836aaa authored by Jean-Philippe Andre's avatar Jean-Philippe Andre

Qt: menu playback/bookmark can now open the bookmarks dialog

parent ffedfbb5
...@@ -615,7 +615,13 @@ QMenu *QVLCMenu::NavigMenu( intf_thread_t *p_intf, QMenu *menu ) ...@@ -615,7 +615,13 @@ QMenu *QVLCMenu::NavigMenu( intf_thread_t *p_intf, QMenu *menu )
{ {
if( menu->isEmpty() ) if( menu->isEmpty() )
{ {
ACT_ADDMENU( menu, "bookmark", qtr( "&Bookmarks" ) ); QAction *action;
QMenu *submenu = new QMenu( qtr( "&Bookmarks" ), menu );
addDPStaticEntry( submenu, qtr( "Manage &bookmarks" ), "",
SLOT( bookmarksDialog() ) );
submenu->addSeparator();
action = menu->addMenu( submenu );
action->setData( "bookmark" );
ACT_ADDMENU( menu, "title", qtr( "T&itle" ) ); ACT_ADDMENU( menu, "title", qtr( "T&itle" ) );
ACT_ADDMENU( menu, "chapter", qtr( "&Chapter" ) ); ACT_ADDMENU( menu, "chapter", qtr( "&Chapter" ) );
ACT_ADDMENU( menu, "navigation", qtr( "&Navigation" ) ); ACT_ADDMENU( menu, "navigation", qtr( "&Navigation" ) );
......
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