[vlc-devel] [PATCH 41/49] qml: forward key events from the VideoSurface as hotkeys
Pierre Lamot
pierre at videolabs.io
Fri Oct 11 15:18:05 CEST 2019
---
modules/gui/qt/qml/player/Player.qml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/gui/qt/qml/player/Player.qml b/modules/gui/qt/qml/player/Player.qml
index 07cd3a72b0..d91298ae3f 100644
--- a/modules/gui/qt/qml/player/Player.qml
+++ b/modules/gui/qt/qml/player/Player.qml
@@ -126,6 +126,8 @@ Utils.NavigableFocusScope {
|| event.matches(StandardKey.Back)
|| event.matches(StandardKey.Cancel)) {
toolbarAutoHide.toggleForceVisible()
+ } else {
+ rootWindow.sendHotkey(event.key, event.modifiers);
}
}
--
2.20.1
More information about the vlc-devel
mailing list