[vlc-devel] [PATCH 12/14] qml: fix no cover for thumbnails in VideoListDisplay
Prince Gupta
guptaprince8832 at gmail.com
Thu Jul 2 14:23:21 CEST 2020
---
modules/gui/qt/medialibrary/qml/VideoListDisplay.qml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt/medialibrary/qml/VideoListDisplay.qml b/modules/gui/qt/medialibrary/qml/VideoListDisplay.qml
index 4c84e25695..a8ef059f51 100644
--- a/modules/gui/qt/medialibrary/qml/VideoListDisplay.qml
+++ b/modules/gui/qt/medialibrary/qml/VideoListDisplay.qml
@@ -50,7 +50,7 @@ Widgets.KeyNavigableTableView {
Widgets.MediaCover {
anchors.verticalCenter: parent.verticalCenter
- source: !rowModel ? "" : rowModel[model.criteria]
+ source: ( !rowModel ? undefined : rowModel[model.criteria] ) || VLCStyle.noArtCover
playCoverVisible: currentlyFocused || containsMouse
playIconSize: VLCStyle.play_cover_small
onPlayIconClicked: medialib.addAndPlay( rowModel.id )
--
2.25.1
More information about the vlc-devel
mailing list