Simplify the rating widget

CURA-6013
This commit is contained in:
Jaime van Kessel 2018-12-12 09:28:15 +01:00
parent fcaa23ed0a
commit 4d57aa8ea4
2 changed files with 0 additions and 12 deletions

View file

@ -10,8 +10,6 @@ Item
property int indexHovered: -1
property string packageId: ""
property int numRatings: 0
property int userRating: 0
signal rated(int rating)
@ -88,14 +86,6 @@ Item
onClicked: rated(index + 1) // Notify anyone who cares about this.
}
}
Label
{
text: "(" + numRatings + ")"
verticalAlignment: Text.AlignVCenter
height: parent.height
color: "#5a5a5a"
font: UM.Theme.getFont("small")
}
}
}
}