vlc | branch: master | Prince Gupta <guptaprince8...@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 <pie...@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 _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org https://mailman.videolan.org/listinfo/vlc-commits