Skip to content
Snippets Groups Projects
Commit ff920de8 authored by Benjamin Arnaud's avatar Benjamin Arnaud Committed by Jean-Baptiste Kempf
Browse files

qml/SliderBar: Apply position inside 'onCompleted'

Calling the state machine signal does not seem to be a good idea given the Connection(s)
items are not fully loaded. This fixes an issue of the Player position not being applied
when loading the SliderBar.
parent 7bbceee2
No related branches found
No related tags found
Loading
Pipeline #335688 passed with stage
in 16 minutes and 40 seconds
......@@ -153,9 +153,7 @@ Slider {
onPositionChanged: fsm.playerUpdatePosition(Player.position)
}
Component.onCompleted: {
fsm.playerUpdatePosition(Player.position)
}
Component.onCompleted: value = Player.position
implicitHeight: control.barHeight
height: implicitHeight
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment