vlc | branch: master | Prince Gupta <guptaprince8...@gmail.com> | Thu Dec 24 
22:30:27 2020 +0530| [bb9cfd6023031cf5f23bab8f3e1fa6c02f07238d] | committer: 
Pierre Lamot

qml: fix sorting in Network view

Signed-off-by: Pierre Lamot <pie...@videolabs.io>

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

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

diff --git a/modules/gui/qt/network/qml/NetworkDisplay.qml 
b/modules/gui/qt/network/qml/NetworkDisplay.qml
index d440353ab0..58f5014f82 100644
--- a/modules/gui/qt/network/qml/NetworkDisplay.qml
+++ b/modules/gui/qt/network/qml/NetworkDisplay.qml
@@ -35,6 +35,7 @@ Widgets.NavigableFocusScope {
     Component.onCompleted: loadView()
 
     property var contentModel
+    property var sortModel
 
     //reset view
     function loadDefaultView() {
@@ -59,6 +60,7 @@ Widgets.NavigableFocusScope {
         view.replace(page, props)
         if (view.currentItem.model)
             root.contentModel = view.currentItem.model
+        root.sortModel = view.currentItem.sortModel
     }
 
     Component {

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to