[vlc-devel] [PATCH] Qt4: Set the current rate properly

Edward Wang edward.c.wang at compdigitec.com
Fri Apr 20 02:23:14 CEST 2012


Close #6646
---
 If possible, a backport to vlc-2.0.git is also requested.

 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()
-- 
1.7.5.4




More information about the vlc-devel mailing list