1
0
Fork 0

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:
Gijs de Rooy 2017-11-22 16:35:21 +01:00
parent d638e7a73b
commit 8ca9dd89c9

View file

@ -32,7 +32,7 @@ Item {
model: 5 model: 5
delegate: Rectangle { delegate: Rectangle {
color: (model.index <= root.value) ? "#3f3f3f" : "#cfcfcf" color: ((model.index + 1) <= root.value) ? "#3f3f3f" : "#cfcfcf"
width: 12 width: 12
height: 12 height: 12
radius: 6 radius: 6