]> git.sesse.net Git - vlc/commitdiff
Qt: add a shortcut for A->B loop
authorJean-Baptiste Kempf <jb@videolan.org>
Fri, 27 Feb 2009 20:15:12 +0000 (21:15 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Fri, 27 Feb 2009 20:15:48 +0000 (21:15 +0100)
We need to fix that better in post 1.0.0
Close #2377

modules/gui/qt4/components/controller.cpp

index e1aaad1228d83893e6264ee168b4255731aabe7f..eadaf8bcc051afe48a0eda026b765754ac1cb46b 100644 (file)
@@ -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 );