]> git.sesse.net Git - vlc/commitdiff
Qt: this is a float, not an int
authorJean-Philippe Andre <jpeg@via.ecp.fr>
Sat, 17 Jan 2009 19:07:32 +0000 (20:07 +0100)
committerJean-Philippe Andre <jpeg@via.ecp.fr>
Sat, 17 Jan 2009 19:08:09 +0000 (20:08 +0100)
modules/gui/qt4/components/interface_widgets.cpp

index 401047221e2dc6b18be56641c8156fcd86a24e00..8f4930814c8b0182cb9a9b17b457d9080d9e2999 100644 (file)
@@ -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;