From c777b5549a25fb17b8094f84bbc221c3aa6a97fb Mon Sep 17 00:00:00 2001 From: Jean-Philippe Andre Date: Sat, 17 Jan 2009 20:07:32 +0100 Subject: [PATCH] Qt: this is a float, not an int --- modules/gui/qt4/components/interface_widgets.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2