Disambiguate log10
svn path=/trunk/KDE/kdebase/workspace/; revision=771566
This commit is contained in:
parent
a6e8d860a1
commit
cbb36dc0ba
1 changed files with 1 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue