[vlc-commits] qml: fix sorting in Network view
Prince Gupta
git at videolan.org
Thu Jan 14 14:42:40 UTC 2021
vlc | branch: master | Prince Gupta <guptaprince8832 at 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 <pierre at 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 {
More information about the vlc-commits
mailing list