[vlc-commits] Qt4: Set the current rate properly

Edward Wang git at videolan.org
Sat Apr 21 19:46:38 CEST 2012


vlc | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Thu Apr 19 20:23:14 2012 -0400| [09b1ee4beca99b7cbeca161ccb738f70f358d744] | committer: Jean-Baptiste Kempf

Qt4: Set the current rate properly

Close #6646

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=09b1ee4beca99b7cbeca161ccb738f70f358d744
---

 modules/gui/qt4/components/interface_widgets.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp
index 0ca799a..e3fcc17 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -352,7 +352,7 @@ SpeedLabel::SpeedLabel( intf_thread_t *_p_intf, QWidget *parent )
     setFrameStyle( QFrame::StyledPanel | QFrame::Raised );
     setLineWidth( 1 );
 
-    setRate( var_InheritFloat( p_intf, "rate" ) );
+    setRate( var_InheritFloat( THEPL, "rate" ) );
 }
 
 SpeedLabel::~SpeedLabel()



More information about the vlc-commits mailing list