From: Jean-Philippe Andre Date: Sat, 17 Jan 2009 19:07:32 +0000 (+0100) Subject: Qt: this is a float, not an int X-Git-Tag: 1.0.0-pre1~1274 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=c777b5549a25fb17b8094f84bbc221c3aa6a97fb;p=vlc Qt: this is a float, not an int --- diff --git a/modules/gui/qt4/components/interface_widgets.cpp b/modules/gui/qt4/components/interface_widgets.cpp index 401047221e..8f4930814c 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;