[vlc-commits] qml: avoid using ml content overlay when possible

Pierre Lamot git at videolan.org
Sun Jul 28 08:43:55 CEST 2019


vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Wed Jul 17 18:39:28 2019 +0200| [19c1359cbd9bbb50550300fb51b4b5ad1d1424f9] | committer: Jean-Baptiste Kempf

qml: avoid using ml content overlay when possible

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

 modules/gui/qt/qml/mediacenter/MCMainDisplay.qml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt/qml/mediacenter/MCMainDisplay.qml b/modules/gui/qt/qml/mediacenter/MCMainDisplay.qml
index 291ee15355..6652a97106 100644
--- a/modules/gui/qt/qml/mediacenter/MCMainDisplay.qml
+++ b/modules/gui/qt/qml/mediacenter/MCMainDisplay.qml
@@ -138,7 +138,7 @@ Utils.NavigableFocusScope {
                         contentModel = stackView.currentItem.contentModel
                     }
 
-                    onActionDown: stackViewZone.focus = true
+                    onActionDown: stackView.focus = true
                     onActionLeft: root.actionLeft(index)
                     onActionRight: root.actionRight(index)
                     onActionUp: root.actionUp(index)
@@ -253,7 +253,7 @@ Utils.NavigableFocusScope {
                 Player.MiniPlayer {
                     id: miniPlayer
 
-                    onActionUp: stackViewZone.focus = true
+                    onActionUp: stackView.focus = true
                     onActionCancel: sourcesBanner.focus = true
                     onActionDown: medialibId.actionDown(index)
                 }



More information about the vlc-commits mailing list