[vlc-commits] qml: fix warnings in source loading of TableColumns.titleDelegate
Prince Gupta
git at videolan.org
Thu Jan 14 14:42:13 UTC 2021
vlc | branch: master | Prince Gupta <guptaprince8832 at gmail.com> | Tue Dec 22 18:24:19 2020 +0530| [842fb3911fae9ce283ea43d2d6359603ec48a276] | committer: Pierre Lamot
qml: fix warnings in source loading of TableColumns.titleDelegate
Signed-off-by: Pierre Lamot <pierre at videolabs.io>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=842fb3911fae9ce283ea43d2d6359603ec48a276
---
modules/gui/qt/widgets/qml/TableColumns.qml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt/widgets/qml/TableColumns.qml b/modules/gui/qt/widgets/qml/TableColumns.qml
index 293d6c596d..140f31808d 100644
--- a/modules/gui/qt/widgets/qml/TableColumns.qml
+++ b/modules/gui/qt/widgets/qml/TableColumns.qml
@@ -57,7 +57,7 @@ Item {
id: cover
anchors.fill: parent
- source: ( !rowModel || root.showTitleText ? rowModel.cover : rowModel[model.criteria]) || VLCStyle.noArtCover
+ source: (rowModel ? (root.showTitleText ? rowModel.cover : rowModel[model.criteria]) : VLCStyle.noArtCover) || VLCStyle.noArtCover
mipmap: true // this widget can down scale the source a lot, so for better visuals we use mipmap
playCoverVisible: currentlyFocused || containsMouse
playIconSize: VLCStyle.play_cover_small
More information about the vlc-commits
mailing list