[vlc-devel] [PATCH 10/39] qml: fix warnings in source loading of TableColumns.titleDelegate
Prince Gupta
guptaprince8832 at gmail.com
Thu Jan 7 11:50:06 UTC 2021
---
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
--
2.25.1
More information about the vlc-devel
mailing list