@@ -33,8 +33,9 @@ Item {
33 objectName: "artImage"
33 objectName: "artImage"
34 // FIXME should be no need for "icon"
34 // FIXME should be no need for "icon"
35 source: cardData && cardData["art"] || cardData["icon"] || ""
35 source: cardData && cardData["art"] || cardData["icon"] || ""
36+ // FIXME uncomment when having investigated / fixed the crash
36 //sourceSize.width: width > height ? width : 0
37 //sourceSize.width: width > height ? width : 0
37− //sourceSize.height: height > width ? height : -1
38+ //sourceSize.height: height > width ? height : 0
38 fillMode: components["art"]["fill-mode"] == "fit" ? Image.PreserveAspectFit: Image.PreserveAspectCrop
39 fillMode: components["art"]["fill-mode"] == "fit" ? Image.PreserveAspectFit: Image.PreserveAspectCrop
40 property real aspect: implicitWidth / implicitHeight
41 property real aspect: implicitWidth / implicitHeight