@@ -32,19 +32,13 @@ GenericPreview {
33 Component {
33 Component {
34 id: previewImageComponent
34 id: previewImageComponent
35− UbuntuShape {
35+ LazyImage {
37 anchors.left: parent.left
36 anchors.left: parent.left
38 anchors.right: parent.right
37 anchors.right: parent.right
39− height: previewImage.sourceSize.width != 0 ? width * previewImage.sourceSize.height / previewImage.sourceSize.width : 0
38+ scaleTo: "width"
41 visible: height > 0
39 visible: height > 0
45− source: root.url
40+ source: root.url
46− fillMode: Image.PreserveAspectCrop
41+ height: implicitHeight
50 objectName: "playButton"
44 objectName: "playButton"