Disambiguate log10

svn path=/trunk/KDE/kdebase/workspace/; revision=771566
This commit is contained in:
Adriaan de Groot 2008-02-06 12:24:44 +00:00
parent a6e8d860a1
commit cbb36dc0ba

View file

@ -309,7 +309,7 @@ void ShowFpsEffect::paintDrawSizeGraph(int x, int y)
int h = 0;
if( value > 0)
{
h = (int)(( log10( value ) - min_pixels_log ) * drawscale );
h = (int)(( log10( (double)value ) - min_pixels_log ) * drawscale );
h = qMin( qMax( 0, h ) + minh, MAX_TIME );
}
drawvalues.append( h );