mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 22:21:09 -04:00
Fix some compilation warnings
This commit is contained in:
parent
0e1fad0ff7
commit
ecaea051fa
5 changed files with 7 additions and 5 deletions
|
@ -393,10 +393,12 @@ void RSGraphWidget::paintData()
|
|||
paintLine(points, getColor(i));
|
||||
}
|
||||
if(_maxValue > 0.0f)
|
||||
{
|
||||
if(_flags & RSGRAPH_FLAGS_LOG_SCALE_Y)
|
||||
_y_scale = _rec.height()*0.8 / log(_maxValue) ;
|
||||
else
|
||||
_y_scale = _rec.height()*0.8/_maxValue ;
|
||||
}
|
||||
}
|
||||
|
||||
/** Returns a list of points on the bandwidth graph based on the supplied set
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue