Skip to content
Commit 741a0308 authored by Quinten Kock's avatar Quinten Kock Committed by ivan tkachenko
Browse files

Osd: set osdMaxValue before osdValue

This change fixes incorrect bounded values appearing in the osd,
for example 100% when the real volume is 105%.

Probably, this happens because osdValue is set to 105 while
osdMaxValue=100, which then gets clamped by Qt.

By setting osdMaxValue first, Qt clamps with the correct range.

BUG: 475143
parent 1023e760
Pipeline #546388 passed with stage
in 16 minutes and 49 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