[vlc-commits] qt4: never disable the "Jump to specific time" menu entry (fixes #6669)
Ludovic Fauvet
git at videolan.org
Thu Jun 7 16:35:37 CEST 2012
vlc | branch: master | Ludovic Fauvet <etix at videolan.org> | Thu Jun 7 15:06:53 2012 +0200| [33299a4d5e3e6951b9039b929205abf6f5847697] | committer: Jean-Baptiste Kempf
qt4: never disable the "Jump to specific time" menu entry (fixes #6669)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=33299a4d5e3e6951b9039b929205abf6f5847697
---
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();
}
More information about the vlc-commits
mailing list