[vlc-devel] [PATCH 2/4] qt4: never disable the "Jump to specific time" menu entry (fixes #6669)
Ludovic Fauvet
etix at videolan.org
Thu Jun 7 15:06:53 CEST 2012
---
modules/gui/qt4/menus.cpp | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index 8959a6a..e1a843b 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -882,8 +882,10 @@ void VLCMenuBar::PopupMenuControlEntries( QMenu *menu, intf_thread_t *p_intf,
action->setIcon( QIcon( ":/toolbar/skip_back") );
#endif
action->setData( ACTION_STATIC );
- addDPStaticEntry( menu, qtr( I_MENU_GOTOTIME ),"",
- SLOT( gotoTimeDialog() ), "Ctrl+T" );
+
+ action = menu->addAction( qtr( I_MENU_GOTOTIME ), THEDP, SLOT( gotoTimeDialog() ), qtr( "Ctrl+T" ) );
+ action->setData( ACTION_ALWAYS_ENABLED );
+
menu->addSeparator();
}
--
1.7.10.3
More information about the vlc-devel
mailing list