diff --git a/modules/gui/qt/playlist/qml/PlaylistListView.qml b/modules/gui/qt/playlist/qml/PlaylistListView.qml index 132dac4e509ecc020d93a27b0871ec347318be99..2c04de89ea3acbe37a839ff62c8b30cecf2cc114 100644 --- a/modules/gui/qt/playlist/qml/PlaylistListView.qml +++ b/modules/gui/qt/playlist/qml/PlaylistListView.qml @@ -145,13 +145,14 @@ Control { function updateComponents(maxCovers) { var count = root.model.selectedCount - selection = root.model.getSelection().slice(0, maxCovers) + selection = root.model.getSelection() + var _selection = selection.slice(0, maxCovers) - var title = selection.map(function (index){ + var title = _selection.map(function (index){ return root.model.itemAt(index).title }).join(", ") - var covers = selection.map(function (index) { + var covers = _selection.map(function (index) { var artwork = root.model.itemAt(index).artwork return {artwork: (artwork && artwork.toString()) ? artwork : VLCStyle.noArtCover} })