Commit 07a364ad authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

qt: Don't handle remaining time in Elapsed TimeLabel

Fix #19677
Regression introduced by 8784800a

(cherry picked from commit da466033)
Signed-off-by: 's avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent 014290af
...@@ -943,7 +943,8 @@ TimeLabel::TimeLabel( intf_thread_t *_p_intf, TimeLabel::Display _displayType ) ...@@ -943,7 +943,8 @@ TimeLabel::TimeLabel( intf_thread_t *_p_intf, TimeLabel::Display _displayType )
void TimeLabel::setRemainingTime( bool remainingTime ) void TimeLabel::setRemainingTime( bool remainingTime )
{ {
b_remainingTime = remainingTime; if (displayType != TimeLabel::Elapsed)
b_remainingTime = remainingTime;
} }
void TimeLabel::setDisplayPosition( float pos, int64_t t, int length ) void TimeLabel::setDisplayPosition( float pos, int64_t t, int length )
......
Markdown is supported
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