[vlc-commits] Qt: recent menus, fix shortcut

Jean-Baptiste Kempf git at videolan.org
Mon Oct 10 11:51:09 CEST 2011


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Oct 10 11:50:43 2011 +0200| [abc9c2ea1ff8b47f34d8efb18ec93703a444fc79] | committer: Jean-Baptiste Kempf

Qt: recent menus, fix shortcut

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=abc9c2ea1ff8b47f34d8efb18ec93703a444fc79
---

 modules/gui/qt4/menus.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index 197bb88..e09f953 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -1527,7 +1527,7 @@ void QVLCMenu::updateRecents( intf_thread_t *p_intf )
                         QString( "&%1: " ).arg( i + 1 ) +
                             QApplication::fontMetrics().elidedText( psz_temp, Qt::ElideLeft, 400 ),
                         rmrl->signalMapper, SLOT( map() ),
-                        i <= 9 ? QString( "Ctrl+%1" ).arg( i + 1 ) : "" );
+                        i < 9 ? QString( "Ctrl+%1" ).arg( i + 1 ) : "" );
                 rmrl->signalMapper->setMapping( action, l.at( i ) );
 
                 free( psz_temp );



More information about the vlc-commits mailing list