@@ -29,8 +29,8 @@ MouseArea {
29 property alias icon: shapeImage.source
29 property alias icon: shapeImage.source
30 property alias text: titleLabel.text
30 property alias text: titleLabel.text
31 property alias subtext: subtitleLabel.text
31 property alias subtext: subtitleLabel.text
32− property alias showStar: star.visible
33+ property bool showStar: false
34 property bool isFavorite: false
34 property bool isFavorite: false
35 property bool hideChildren: false
35 property bool hideChildren: false
@@ -95,7 +95,7 @@ MouseArea {
95 anchors.centerIn: parent
95 anchors.centerIn: parent
96 height: units.gu(2)
96 height: units.gu(2)
97 width: units.gu(2)
97 width: units.gu(2)
98− visible: !hideChildren
98+ visible: !hideChildren && (editMode || showStar)
99 // TODO is view-grid-symbolic what we really want here? Looks good but seems semantically wrong
99 // TODO is view-grid-symbolic what we really want here? Looks good but seems semantically wrong
100 source: editMode ? "image://theme/view-grid-symbolic" : isFavorite ? "image://theme/starred" : "image://theme/non-starred"
100 source: editMode ? "image://theme/view-grid-symbolic" : isFavorite ? "image://theme/starred" : "image://theme/non-starred"