Skip to content
Verified Commit 424144f4 authored by ivan tkachenko's avatar 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

See plasma-workspace@741a0308
parent a1d0a06f
Pipeline #546439 passed with stage
in 2 minutes and 18 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