From 7d1441f7304a9643a99b615a61832a0784319d5c Mon Sep 17 00:00:00 2001 From: csoler Date: Thu, 20 Jan 2011 21:39:18 +0000 Subject: [PATCH] fixed the 1e+02 bug git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3968 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/FileTransferInfoWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/retroshare-gui/src/gui/FileTransferInfoWidget.cpp b/retroshare-gui/src/gui/FileTransferInfoWidget.cpp index d1645c0e4..7f69731a4 100644 --- a/retroshare-gui/src/gui/FileTransferInfoWidget.cpp +++ b/retroshare-gui/src/gui/FileTransferInfoWidget.cpp @@ -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 ; }