Skip to content
Commit b3d081d1 authored by Bart De Vries's avatar Bart De Vries Committed by Nate Graham
Browse files

Rescale internal Slider values to avoid integer overflow

The original implementation used the raw duration and position as
reported by qmultimedia, which are in milliseconds. This, combined with
the actual Slider implementation in qqc2-desktop-style caused
value/duration to overflow at about 3 minutes and 30 seconds.
The adapted implementation uses seconds for the internal Slider values.

CCBUG: 455339


(cherry picked from commit 98227f05)
parent a7607074
Pipeline #194247 passed with stage
in 3 minutes and 58 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment