[vlc-commits] qml: fix no cover for thumbnails in VideoListDisplay
Prince Gupta
git at videolan.org
Fri Jul 3 14:59:38 CEST 2020
vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Fri Jun 26 17:36:57 2020 +0530| [36ac1cc29179c74fd14e04da671cb0d47c828e8f] | committer: Pierre Lamot
qml: fix no cover for thumbnails in VideoListDisplay
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=36ac1cc29179c74fd14e04da671cb0d47c828e8f
---
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 )
More information about the vlc-commits
mailing list