[vlc-devel] [PATCH 01/18] qml: fix sorting from topbar in MusicGenres

Prince Gupta guptaprince8832 at gmail.com
Thu Aug 20 14:15:24 CEST 2020


---
 modules/gui/qt/medialibrary/qml/MusicGenresDisplay.qml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt/medialibrary/qml/MusicGenresDisplay.qml b/modules/gui/qt/medialibrary/qml/MusicGenresDisplay.qml
index 5f442f79d9..ced5c1acc9 100644
--- a/modules/gui/qt/medialibrary/qml/MusicGenresDisplay.qml
+++ b/modules/gui/qt/medialibrary/qml/MusicGenresDisplay.qml
@@ -33,7 +33,7 @@ Widgets.NavigableFocusScope {
     property var viewProperties: ({})
 
     property var sortModel
-    property var contentModel
+    property var model
 
     readonly property var pageModel: [{
         name: "all",
@@ -61,7 +61,7 @@ Widgets.NavigableFocusScope {
             stackView.replace(root.pageModel[0].component)
         stackView.currentItem.navigationParent = root
         sortModel = stackView.currentItem.sortModel
-        contentModel = stackView.currentItem.model
+        model = stackView.currentItem.model
     }
 
     function _updateGenresAllHistory(currentIndex) {
-- 
2.25.1



More information about the vlc-devel mailing list