vlc | branch: master | Pierre Lamot <[email protected]> | Tue Aug 27 15:52:36 
2019 +0200| [6a80535006e1c769ae19c24537af48a0f85c9160] | committer: 
Jean-Baptiste Kempf

qml: don't force activeFocus when building player buttons widgets

  This might not be the expected behavior, ie: building the miniplayer whereas
  it's hidden or not the active widget.

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

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

diff --git a/modules/gui/qt/qml/player/PlayerButtonsLayout.qml 
b/modules/gui/qt/qml/player/PlayerButtonsLayout.qml
index fb410732cf..df96583817 100644
--- a/modules/gui/qt/qml/player/PlayerButtonsLayout.qml
+++ b/modules/gui/qt/qml/player/PlayerButtonsLayout.qml
@@ -44,7 +44,7 @@ RowLayout{
                     return
                 else
                     if (!buttonrow._focusGiven){
-                        buttonloader.item.forceActiveFocus()
+                        buttonloader.item.focus = true
                         buttonrow._focusGiven = true
                     }
                 if(buttonloader.item instanceof Utils.IconToolButton)

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to