[vlc-commits] qml: fix sorting from topbar in MusicGenres
Prince Gupta
git at videolan.org
Thu Aug 27 12:43:46 CEST 2020
vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Mon Aug 10 19:12:34 2020 +0530| [a6246cb42603e67e18f577198aee341e28a39bd4] | committer: Pierre Lamot
qml: fix sorting from topbar in MusicGenres
Signed-off-by: Pierre Lamot <pierre at videolabs.io>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a6246cb42603e67e18f577198aee341e28a39bd4
---
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) {
More information about the vlc-commits
mailing list