]> git.sesse.net Git - vlc/blobdiff - modules/gui/qt4/components/interface_widgets.cpp
Qt: this is a float, not an int
[vlc] / 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;