[vlc-commits] qml: don't filter key event to raise the controlbar when its visibility is forced

Pierre Lamot git at videolan.org
Sun Jul 28 08:44:03 CEST 2019


vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Fri Jul 26 18:53:45 2019 +0200| [734a7021c77d1f78333c6be75ca2842a27eb1e46] | committer: Jean-Baptiste Kempf

qml: don't filter key event to raise the controlbar when its visibility is forced

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

 modules/gui/qt/qml/player/Player.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/qt/qml/player/Player.qml b/modules/gui/qt/qml/player/Player.qml
index c97b1f8689..de7393a229 100644
--- a/modules/gui/qt/qml/player/Player.qml
+++ b/modules/gui/qt/qml/player/Player.qml
@@ -220,7 +220,7 @@ Utils.NavigableFocusScope {
                     EventFilter {
                         id: filter
                         source: rootQMLView
-                        filterEnabled: controlBarView.state === "visible"
+                        filterEnabled: controlBarView.state === "visible" && !controlBarView.noAutoHide
                         Keys.onPressed: toolbarAutoHide.setVisible(5000)
                     }
                 }



More information about the vlc-commits mailing list