[vlc-devel] [PATCH 37/39] qml: fix sorting in Network view

Prince Gupta guptaprince8832 at gmail.com
Thu Jan 7 11:50:33 UTC 2021


---
 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 {
-- 
2.25.1



More information about the vlc-devel mailing list