[vlc-commits] qml: change the default image for MusicGenresDisplay

Adrien Maglo git at videolan.org
Thu Jun 13 13:11:02 CEST 2019


vlc | branch: master | Adrien Maglo <magsoft at videolan.org> | Wed May 22 11:13:33 2019 +0200| [f2c64a9b5afdfd790599c8db7b6a38ac7c5c4ee2] | committer: Thomas Guillem

qml: change the default image for MusicGenresDisplay

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f2c64a9b5afdfd790599c8db7b6a38ac7c5c4ee2
---

 modules/gui/qt/qml/mediacenter/MusicGenresDisplay.qml | 2 +-
 modules/gui/qt/qml/utils/MultiCoverPreview.qml        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt/qml/mediacenter/MusicGenresDisplay.qml b/modules/gui/qt/qml/mediacenter/MusicGenresDisplay.qml
index b94695b67e..0dcae39700 100644
--- a/modules/gui/qt/qml/mediacenter/MusicGenresDisplay.qml
+++ b/modules/gui/qt/qml/mediacenter/MusicGenresDisplay.qml
@@ -46,7 +46,7 @@ Utils.NavigableFocusScope {
             Utils.GridItem {
                 Package.name: "grid"
                 id: gridItem
-                image: VLCStyle.noArtCover
+                image: VLCStyle.noArtAlbum
                 title: model.name || "Unknown genre"
                 selected: element.DelegateModel.inSelected
 
diff --git a/modules/gui/qt/qml/utils/MultiCoverPreview.qml b/modules/gui/qt/qml/utils/MultiCoverPreview.qml
index d9ba67e901..5fc3c345bd 100644
--- a/modules/gui/qt/qml/utils/MultiCoverPreview.qml
+++ b/modules/gui/qt/qml/utils/MultiCoverPreview.qml
@@ -60,7 +60,7 @@ Item {
                 Layout.columnSpan: albums.rowCount() === 1 ? 2 : 1
                 Layout.fillHeight: true
                 Layout.fillWidth: true
-                source: albums.get(index).cover || VLCStyle.noArtCover
+                source: albums.get(index).cover || VLCStyle.noArtAlbum
                 fillMode: Image.PreserveAspectCrop
                 sourceSize: Qt.size(width, height)
             }



More information about the vlc-commits mailing list