In order to tell between user created slider valueChanged events and synthetic ones the code has a disablePositionUpdate flag which is set when updating the value.
setting Slider.maximumValue implicitly will also change value, so it needs the same logic.
This fixes a bug where opening a new media file will resume at the point where a previous media file left off.
In order to tell between user created slider valueChanged events and synthetic ones the code has a disablePositionUpdate flag which is set when updating the value.
setting Slider.maximumValue implicitly will also change value, so it needs the same logic.
This fixes a bug where opening a new media file will resume at the point where a previous media file left off.