[vlc-devel] [PATCH 2/2] Remove string via redefine
Christoph Miebach
christoph.miebach at web.de
Fri Apr 26 07:42:02 CEST 2013
---
include/vlc_intf_strings.h | 2 +-
modules/gui/qt4/menus.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/vlc_intf_strings.h b/include/vlc_intf_strings.h
index 95e861a..fb3ab60 100644
--- a/include/vlc_intf_strings.h
+++ b/include/vlc_intf_strings.h
@@ -43,7 +43,7 @@
/*************** Open dialogs **************/
-#define I_OP_OPF N_("Quick &Open File...")
+#define I_OP_OPF N_("&Open File...")
#define I_OP_ADVOP N_("&Advanced Open...")
#define I_OP_OPDIR I_DIR_OR_FOLDER( N_("Open D&irectory..."), \
N_("Open &Folder...") )
diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index e057ea9..3c21bc2 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -912,7 +912,7 @@ void VLCMenuBar::PopupMenuControlEntries( QMenu *menu, intf_thread_t *p_intf,
void VLCMenuBar::PopupMenuStaticEntries( QMenu *menu )
{
QMenu *openmenu = new QMenu( qtr( "Open Media" ), menu );
- addDPStaticEntry( openmenu, qtr( "&Open File..." ),
+ addDPStaticEntry( openmenu, qtr( I_OP_OPF ),
":/type/file-asym", SLOT( openFileDialog() ) );
addDPStaticEntry( openmenu, qtr( I_OP_OPDIR ),
":/type/folder-grey", SLOT( PLOpenDir() ) );
--
1.8.1.4
More information about the vlc-devel
mailing list