Commit 15f4e6eb authored by Matthieu Gallien's avatar Matthieu Gallien 🎵

use a binding to connect to playlist in views

should allow the initial view to get the correct link to the playlist

fix enqueue from items in the initial view
parent 97849260
Pipeline #38184 passed with stage
in 19 minutes and 27 seconds
......@@ -59,7 +59,7 @@ FocusScope {
proxyModel.sourceModel = realModel
proxyModel.dataType = modelType
proxyModel.playList = ElisaApplication.mediaPlayListProxyModel
proxyModel.playList = Qt.binding(function() { return ElisaApplication.mediaPlayListProxyModel })
gridView.contentModel = proxyModel
proxyModel.sortModel(sortOrder)
......
......@@ -84,7 +84,7 @@ FocusScope {
proxyModel.sourceModel = realModel
proxyModel.dataType = modelType
proxyModel.playList = ElisaApplication.mediaPlayListProxyModel
proxyModel.playList = Qt.binding(function() { return ElisaApplication.mediaPlayListProxyModel })
listView.contentModel = proxyModel
if (!displaySingleAlbum) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment