Commit fe7cfa44 authored by François Cartegnie's avatar François Cartegnie 🤞

Qt: menu: move advanced open.

"Advanced Open File" menu opens a "media" chooser, an "Open Media" named
dialog. Keeping "Open File" is wrong then.
Compared to this menu, Open "File", "Network", "Capture" and "Disc" are
just 'shortcuts': They needed to be grouped then.
parent b1fc78b0
......@@ -332,10 +332,11 @@ QMenu *QVLCMenu::FileMenu( intf_thread_t *p_intf, QWidget *parent )
QMenu *menu = new QMenu( parent );
QAction *action;
addDPStaticEntry( menu, qtr( "&Open File..." ),
":/type/file-asym", SLOT( simpleOpenDialog() ), "Ctrl+O" );
addDPStaticEntry( menu, qtr( "Advanced Open File..." ),
addDPStaticEntry( menu, qtr( "&Open (advanced)..." ),
":/type/file-asym", SLOT( openFileDialog() ), "Ctrl+Shift+O" );
menu->addSeparator();
addDPStaticEntry( menu, qtr( "Open &File..." ),
":/type/file-asym", SLOT( simpleOpenDialog() ), "Ctrl+O" );
addDPStaticEntry( menu, qtr( I_OP_OPDIR ),
":/type/folder-grey", SLOT( PLOpenDir() ), "Ctrl+F" );
addDPStaticEntry( menu, qtr( "Open &Disc..." ),
......
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