[vlc-commits] qml: expose model in VideoDisplay to enable filtering

Pierre Lamot git at videolan.org
Fri Jan 10 15:06:22 CET 2020


vlc | branch: master | Pierre Lamot <pierre at videolabs.io> | Wed Dec 11 11:28:11 2019 +0100| [adafabc2cf80828ca4e6b80cda93dfe55986282f] | committer: Jean-Baptiste Kempf

qml: expose model in VideoDisplay to enable filtering

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

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

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

diff --git a/modules/gui/qt/medialibrary/qml/VideoDisplay.qml b/modules/gui/qt/medialibrary/qml/VideoDisplay.qml
index bfedf4fda7..d77aaf1229 100644
--- a/modules/gui/qt/medialibrary/qml/VideoDisplay.qml
+++ b/modules/gui/qt/medialibrary/qml/VideoDisplay.qml
@@ -31,6 +31,8 @@ Widgets.NavigableFocusScope {
     id: root
     property var currentIndex: view.currentItem.currentIndex
 
+    property alias contentModel: videosDelegate.model;
+
     DG.ModalDialog {
         id: deleteDialog
         rootWindow: root



More information about the vlc-commits mailing list