[vlc-devel] commit: Qt: add a shortcut for A->B loop (Jean-Baptiste Kempf )

git version control git at videolan.org
Fri Feb 27 21:59:23 CET 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Feb 27 21:15:12 2009 +0100| [7f4548c68565be41c6630916f78ef7a6f0aa1bfc] | committer: Jean-Baptiste Kempf 

Qt: add a shortcut for A->B loop

We need to fix that better in post 1.0.0
Close #2377

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

 modules/gui/qt4/components/controller.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gui/qt4/components/controller.cpp b/modules/gui/qt4/components/controller.cpp
index e1aaad1..eadaf8b 100644
--- a/modules/gui/qt4/components/controller.cpp
+++ b/modules/gui/qt4/components/controller.cpp
@@ -320,6 +320,7 @@ QWidget *AbstractController::createWidget( buttonType_e button, int options )
     case ATOB_BUTTON: {
         AtoB_Button *ABButton = new AtoB_Button;
         setupButton( ABButton );
+        ABButton->setShortcut( qtr("Shift+L") );
         BUTTON_SET_BAR( ABButton );
         ENABLE_ON_INPUT( ABButton );
         CONNECT_MAP_SET( ABButton, ATOB_ACTION );




More information about the vlc-devel mailing list