mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-28 00:07:09 -05:00
Fix Clang warnings: implicit conversion from 'double' to 'int'
warning: implicit conversion from 'double' to 'int' changes value from 0.5 to 0 [-Wliteral-conversion] painter.setPen(QColor::fromRgb(0.5,0.5,0.5));
This commit is contained in:
parent
19196e2cb0
commit
d8a73132c1
@ -379,7 +379,7 @@ void GlobalRouterStatisticsWidget::updateContent()
|
|||||||
|
|
||||||
painter.setPen(QColor::fromRgb(0,0,0)) ;
|
painter.setPen(QColor::fromRgb(0,0,0)) ;
|
||||||
|
|
||||||
painter.setPen(QColor::fromRgb(0.5,0.5,0.5));
|
painter.setPen(QColor::fromRgb(127,127,127));
|
||||||
painter.drawRect(ox+2*cellx,current_oy+0.15*celly,fm_monospace.width(ids)+cellx*matrix_info.friend_ids.size()- 2*cellx,celly) ;
|
painter.drawRect(ox+2*cellx,current_oy+0.15*celly,fm_monospace.width(ids)+cellx*matrix_info.friend_ids.size()- 2*cellx,celly) ;
|
||||||
|
|
||||||
float total_length = (matrix_info.friend_ids.size()+2)*cellx ;
|
float total_length = (matrix_info.friend_ids.size()+2)*cellx ;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user