[vlc-commits] Qt: menu: move advanced open.

Francois Cartegnie git at videolan.org
Thu Mar 24 21:48:14 CET 2011


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Mar 24 21:39:32 2011 +0100| [fe7cfa446ed8f76df87b5fa22edc91eeffc3bc98] | committer: Francois 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.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fe7cfa446ed8f76df87b5fa22edc91eeffc3bc98
---

 modules/gui/qt4/menus.cpp |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index a2593b4..bd4b482 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -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..." ),



More information about the vlc-commits mailing list