vlc | branch: master | Adrien Maglo <[email protected]> | 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 <[email protected]>

> 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)
             }
         }
     }

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to