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

Edward Wang git at videolan.org
Sat Apr 21 19:47:24 CEST 2012


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

Qt4: Set the current rate properly

Close #6646

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit 09b1ee4beca99b7cbeca161ccb738f70f358d744)

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

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

 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 7a9550f..7ac81b5 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