@@ -24,27 +24,22 @@ Item {
2424
2525 anchors.fill: parent
2626
27− Item {
27+ Image {
2828 id: icon
29− anchors {
30− top: parent.top
31− horizontalCenter: parent.horizontalCenter
32− }
29+ objectName: "image"
3330 width: styledItem.imageWidth
3431 height: styledItem.imageHeight
3532
36− Image {
37− id: image
38− objectName: "image"
39− sourceSize { width: icon.width; height: icon.height }
40− asynchronous: true
41− cache: false
42− source: styledItem.source
43− fillMode: styledItem.fillMode
44− opacity: tile.disabled ? 0.3 : 1.0
45− horizontalAlignment: styledItem.horizontalAlignment
46− verticalAlignment: styledItem.verticalAlignment
47− }
33+ anchors.horizontalCenter: parent.horizontalCenter
34+
35+ sourceSize { width: width; height: height }
36+ asynchronous: true
37+ cache: false
38+ source: styledItem.source
39+ fillMode: styledItem.fillMode
40+ opacity: tile.disabled ? 0.3 : 1.0
41+ horizontalAlignment: styledItem.horizontalAlignment
42+ verticalAlignment: styledItem.verticalAlignment
4843 }
4944
5045 UbuntuShape {