]> git.sur5r.net Git - minitube/commitdiff
Keyboard shortcuts in full screen mode
authorFlavio Tordini <flavio.tordini@gmail.com>
Thu, 25 Jun 2009 13:27:28 +0000 (15:27 +0200)
committerFlavio Tordini <flavio.tordini@gmail.com>
Thu, 25 Jun 2009 13:27:28 +0000 (15:27 +0200)
src/MainWindow.cpp

index 00ce011497f91d16686b13f9b8e337cfc16c8baf..397e0eb58b732a912cab8332af4a2f08b8cba97d 100755 (executable)
@@ -196,6 +196,9 @@ void MainWindow::createActions() {
         action->setAutoRepeat(false);
         action->setToolTip(action->statusTip());
 
+        // make the actions work when video is fullscreen
+        action->setShortcutContext(Qt::ApplicationShortcut);
+
 #ifdef Q_WS_MAC
         // OSX does not use icons in menus
         action->setIconVisibleInMenu(false);