]> git.sesse.net Git - vlc/commitdiff
qt4: never disable the "Jump to specific time" menu entry (fixes #6669)
authorLudovic Fauvet <etix@videolan.org>
Thu, 7 Jun 2012 13:06:53 +0000 (15:06 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 7 Jun 2012 14:32:00 +0000 (16:32 +0200)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
modules/gui/qt4/menus.cpp

index 8959a6a995fc420c1f210ba7919d45addaf7f775..e1a843b34fc755e20f363a6cb796a71b46469862 100644 (file)
@@ -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();
 }