[vlc-commits] qml: directly launch the video when pressing Ok key in the video grid view

Pierre Lamot git at videolan.org
Thu Feb 20 13:56:32 CET 2020


vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Mon Jan 27 13:03:09 2020 +0100| [5b0fa9d71c3d75ab9f990da291d232057075f390] | committer: Jean-Baptiste Kempf

qml: directly launch the video when pressing Ok key in the video grid view

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

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

diff --git a/modules/gui/qt/medialibrary/qml/VideoDisplay.qml b/modules/gui/qt/medialibrary/qml/VideoDisplay.qml
index 459cb884c4..070494cee0 100644
--- a/modules/gui/qt/medialibrary/qml/VideoDisplay.qml
+++ b/modules/gui/qt/medialibrary/qml/VideoDisplay.qml
@@ -209,7 +209,7 @@ Widgets.NavigableFocusScope {
 
             onSelectAll: videosGV.model.selectAll()
             onSelectionUpdated: videosGV.model.updateSelection( keyModifiers, oldIndex, newIndex )
-            onActionAtIndex: switchExpandItem( index )
+            onActionAtIndex: videosDelegate.actionAtIndex( index )
         }
 
     }



More information about the vlc-commits mailing list