@@ -38,9 +38,9 @@ Item {
3838 /*!
3939 Number of rating stars.
4040 */
41− property int starCount: 5
41+ property int starsCount: 5
4242
43− readonly property int effectiveRating: MathUtils.clamp(starCount * rating / maximumRating, 0, maximumRating)
43+ readonly property int effectiveRating: MathUtils.clamp(starsCount * rating / maximumRating, 0, maximumRating)
4444
4545 Row {
4646 id: row
@@ -51,9 +51,9 @@ Item {
5151 Repeater {
5252 id: repeater
5353
54− property int averageDelegateWidth: row.width / root.starCount
54+ property int averageDelegateWidth: row.width / root.starsCount
5555
56− model: root.starCount
56+ model: root.starsCount
5757
5858 Image {
5959 objectName: "ratingStar" + index
@@ -65,6 +65,6 @@ Item {
6565 MouseArea {
6666 anchors.fill: row
6767 enabled: root.interactive
68− onClicked: root.rating = Math.ceil(mouse.x / repeater.averageDelegateWidth) * root.maximumRating / root.starCount
68+ onClicked: root.rating = Math.ceil(mouse.x / repeater.averageDelegateWidth) * root.maximumRating / root.starsCount
6969 }
7070}