mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-06 15:13:57 +02:00
Fix crash fix.
This commit is contained in:
parent
9afee2620a
commit
48d482006a
1 changed files with 2 additions and 2 deletions
|
@ -269,8 +269,8 @@ void MediaSlider::paintEvent(QPaintEvent *e) {
|
||||||
+ value * (length - alwaysSeekSize))
|
+ value * (length - alwaysSeekSize))
|
||||||
: qRound(from + value * length);
|
: qRound(from + value * length);
|
||||||
const auto till = horizontal
|
const auto till = horizontal
|
||||||
? mid
|
? std::max(mid, qRound(from + receivedTill * length))
|
||||||
: std::max(mid, qRound(from + receivedTill * length));
|
: mid;
|
||||||
const auto end = from + length;
|
const auto end = from + length;
|
||||||
const auto activeFg = disabled
|
const auto activeFg = disabled
|
||||||
? _st.activeFgDisabled
|
? _st.activeFgDisabled
|
||||||
|
|
Loading…
Add table
Reference in a new issue