Commit 09b1ee4b authored by Edward Wang's avatar Edward Wang Committed by Jean-Baptiste Kempf

Qt4: Set the current rate properly

Close #6646
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 5069692b
...@@ -352,7 +352,7 @@ SpeedLabel::SpeedLabel( intf_thread_t *_p_intf, QWidget *parent ) ...@@ -352,7 +352,7 @@ SpeedLabel::SpeedLabel( intf_thread_t *_p_intf, QWidget *parent )
setFrameStyle( QFrame::StyledPanel | QFrame::Raised ); setFrameStyle( QFrame::StyledPanel | QFrame::Raised );
setLineWidth( 1 ); setLineWidth( 1 );
setRate( var_InheritFloat( p_intf, "rate" ) ); setRate( var_InheritFloat( THEPL, "rate" ) );
} }
SpeedLabel::~SpeedLabel() SpeedLabel::~SpeedLabel()
......
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