From: Ludovic Fauvet Date: Thu, 7 Jun 2012 13:06:53 +0000 (+0200) Subject: qt4: never disable the "Jump to specific time" menu entry (fixes #6669) X-Git-Tag: 2.1.0-git~4127 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=33299a4d5e3e6951b9039b929205abf6f5847697;p=vlc qt4: never disable the "Jump to specific time" menu entry (fixes #6669) Signed-off-by: Jean-Baptiste Kempf --- diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp index 8959a6a995..e1a843b34f 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(); }