[vlc-commits] qml: set the sourceSize of the MultiCoverPreview image to the widget size
Adrien Maglo
git at videolan.org
Thu Jun 13 13:10:44 CEST 2019
vlc | branch: master | Adrien Maglo <magsoft at videolan.org> | Thu Apr 18 13:07:04 2019 +0200| [f7c02c338206f217a678ca38d6c707f493c177ce] | committer: Thomas Guillem
qml: set the sourceSize of the MultiCoverPreview image to the widget size
Signed-off-by: Thomas Guillem <thomas at gllm.fr>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f7c02c338206f217a678ca38d6c707f493c177ce
---
modules/gui/qt/qml/utils/MultiCoverPreview.qml | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/gui/qt/qml/utils/MultiCoverPreview.qml b/modules/gui/qt/qml/utils/MultiCoverPreview.qml
index 4054f8f60d..d9ba67e901 100644
--- a/modules/gui/qt/qml/utils/MultiCoverPreview.qml
+++ b/modules/gui/qt/qml/utils/MultiCoverPreview.qml
@@ -62,6 +62,7 @@ Item {
Layout.fillWidth: true
source: albums.get(index).cover || VLCStyle.noArtCover
fillMode: Image.PreserveAspectCrop
+ sourceSize: Qt.size(width, height)
}
}
}
More information about the vlc-commits
mailing list