fixed the 1e+02 bug

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3968 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2011-01-20 21:39:18 +00:00
parent 474aa31fd1
commit 7d1441f730

View File

@ -197,7 +197,7 @@ void FileTransferInfoWidget::draw(const FileInfo& nfo,const FileChunksInfo& info
painter->setPen(QColor::fromRgb(0,0,0)) ;
float percent = (size_of_this_chunk - info.active_chunks[i].second)*100.0/size_of_this_chunk ;
painter->drawText(sizeX+55,y+text_height,QString::number(percent,'g',2) + " %") ;
painter->drawText(sizeX+55,y+text_height,QString::number(percent,'g',3) + " %") ;
y += sizeY+block_sep ;
}