QtLauncher: fix aircraft ratings
Index of rating indicators starts at 0 while ratings that correspond to a point/star/dot start at 1
This commit is contained in:
parent
d638e7a73b
commit
8ca9dd89c9
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ Item {
|
|||
model: 5
|
||||
|
||||
delegate: Rectangle {
|
||||
color: (model.index <= root.value) ? "#3f3f3f" : "#cfcfcf"
|
||||
color: ((model.index + 1) <= root.value) ? "#3f3f3f" : "#cfcfcf"
|
||||
width: 12
|
||||
height: 12
|
||||
radius: 6
|
||||
|
|
Loading…
Reference in a new issue