[vlc-devel] commit: Qt: this is a float, not an int (Jean-Philippe Andre )

git version control git at videolan.org
Sat Jan 17 20:08:36 CET 2009


vlc | branch: master | Jean-Philippe Andre <jpeg at via.ecp.fr> | Sat Jan 17 20:07:32 2009 +0100| [c777b5549a25fb17b8094f84bbc221c3aa6a97fb] | committer: Jean-Philippe Andre 

Qt: this is a float, not an int

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

 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 4010472..8f49308 100644
--- a/modules/gui/qt4/components/interface_widgets.cpp
+++ b/modules/gui/qt4/components/interface_widgets.cpp
@@ -463,7 +463,7 @@ TimeLabel::TimeLabel( intf_thread_t *_p_intf  ) :QLabel(), p_intf( _p_intf )
 
 void TimeLabel::setDisplayPosition( float pos, int time, int length )
 {
-    if( pos == -1 )
+    if( pos == -1.f )
     {
         setText( " --:--/--:-- " );
         return;




More information about the vlc-devel mailing list