1
mirror of https://code.videolan.org/videolan/vlc synced 2024-10-03 01:31:53 +02:00

qml: update various placeholder pictures

This commit is contained in:
Pierre Lamot 2022-04-07 15:05:25 +02:00 committed by Rémi Denis-Courmont
parent 2abc4460ce
commit bc1bbb9b44
5 changed files with 5 additions and 5 deletions

View File

@ -124,7 +124,7 @@ FocusScope {
height: VLCStyle.expandCover_music_height height: VLCStyle.expandCover_music_height
width: VLCStyle.expandCover_music_width width: VLCStyle.expandCover_music_width
radius: VLCStyle.expandCover_music_radius radius: VLCStyle.expandCover_music_radius
source: Helpers.get(model, "cover", VLCStyle.noArtAlbum) source: Helpers.get(model, "cover", VLCStyle.noArtAlbumCover)
} }
Widgets.ListCoverShadow { Widgets.ListCoverShadow {

View File

@ -134,7 +134,7 @@ FocusScope {
} }
delegate: Widgets.GridItem { delegate: Widgets.GridItem {
image: model.cover || VLCStyle.noArtAlbum image: model.cover || VLCStyle.noArtAlbumCover
title: model.title || I18n.qtr("Unknown title") title: model.title || I18n.qtr("Unknown title")
subtitle: model.release_year || "" subtitle: model.release_year || ""
textAlignHCenter: true textAlignHCenter: true

View File

@ -157,7 +157,7 @@ FocusScope {
height: width / 2 height: width / 2
pictureWidth: width pictureWidth: width
pictureHeight: height pictureHeight: height
image: model.cover || VLCStyle.noArtAlbum image: model.cover || VLCStyle.noArtAlbumCover
playCoverBorderWidth: VLCStyle.dp(3, VLCStyle.scale) playCoverBorderWidth: VLCStyle.dp(3, VLCStyle.scale)
dragItem: genreDragItem dragItem: genreDragItem
unselectedUnderlay: shadows.unselected unselectedUnderlay: shadows.unselected

View File

@ -36,7 +36,7 @@ Item {
Layout.preferredHeight: VLCStyle.heightAlbumCover_small Layout.preferredHeight: VLCStyle.heightAlbumCover_small
Layout.alignment: Qt.AlignLeft | Qt.AlignVCenter Layout.alignment: Qt.AlignLeft | Qt.AlignVCenter
fillMode : Image.PreserveAspectFit fillMode : Image.PreserveAspectFit
source: (mainPlaylistController.currentItem.artwork && mainPlaylistController.currentItem.artwork.toString()) ? mainPlaylistController.currentItem.artwork : VLCStyle.noArtCover source: (mainPlaylistController.currentItem.artwork && mainPlaylistController.currentItem.artwork.toString()) ? mainPlaylistController.currentItem.artwork : VLCStyle.noArtAlbumCover
} }
ColumnLayout { ColumnLayout {

View File

@ -136,7 +136,7 @@ T.Control {
anchors.fill: parent anchors.fill: parent
fillMode: Image.PreserveAspectFit fillMode: Image.PreserveAspectFit
source: (model.artwork && model.artwork.toString()) ? model.artwork : VLCStyle.noArtCover source: (model.artwork && model.artwork.toString()) ? model.artwork : VLCStyle.noArtAlbumCover
visible: !statusIcon.visible visible: !statusIcon.visible
} }