@@ -19,7 +19,7 @@ import Ubuntu.Components 0.1
22− property var mascot
22+ property url mascot: ""
23 property alias title: titleLabel.text
23 property alias title: titleLabel.text
24 property var subtitle
24 property var subtitle
@@ -35,7 +35,7 @@ Item {
35 property bool useMascotShape: true
35 property bool useMascotShape: true
36 property color fontColor: Theme.palette.selected.backgroundText
36 property color fontColor: Theme.palette.selected.backgroundText
38− visible: mascot || title
38+ visible: mascot != "" || title
39 implicitHeight: row.height > 0 ? row.height + row.margins * 2 : 0
39 implicitHeight: row.height > 0 ? row.height + row.margins * 2 : 0
@@ -71,8 +71,8 @@ Item {
73 id: mascotImageLoader
73 id: mascotImageLoader
74− active: root.mascot
74+ active: root.mascot != ""
75− visible: root.mascot && !useMascotShape && item.status === Image.Ready
75+ visible: active && !useMascotShape && item.status === Image.Ready
76 anchors.verticalCenter: parent.verticalCenter
76 anchors.verticalCenter: parent.verticalCenter
77 sourceComponent: Image {
77 sourceComponent: Image {
78 objectName: "mascotImage"
78 objectName: "mascotImage"