(trunk qt) #3112 "Partial Seed display shows incorrect filesize" -- fixed in trunk for 2.00 with a patch from Longinus00

This commit is contained in:
Charles Kerr 2010-04-03 14:04:45 +00:00
parent a5ca4d45f1
commit 4ddb13df77
1 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ TorrentDelegate :: progressString( const Torrent& tor ) const
%6 is the ratio we want to reach before we stop uploading */
str = tr( "%1 of %2 (%3%), uploaded %4 (Ratio: %5 Goal: %6)" )
.arg( Utils::sizeToString( haveTotal ) )
.arg( Utils::sizeToString( tor.sizeWhenDone( ) ) )
.arg( Utils::sizeToString( tor.totalSize( ) ) )
.arg( tor.percentDone( ) * 100.0, 0, 'f', 2 )
.arg( Utils::sizeToString( tor.uploadedEver( ) ) )
.arg( Utils::ratioToString( tor.ratio( ) ) )
@ -105,7 +105,7 @@ TorrentDelegate :: progressString( const Torrent& tor ) const
%5 is our upload-to-download ratio */
str = tr( "%1 of %2 (%3%), uploaded %4 (Ratio: %5)" )
.arg( Utils::sizeToString( haveTotal ) )
.arg( Utils::sizeToString( tor.sizeWhenDone( ) ) )
.arg( Utils::sizeToString( tor.totalSize( ) ) )
.arg( tor.percentDone( ) * 100.0, 0, 'f', 2 )
.arg( Utils::sizeToString( tor.uploadedEver( ) ) )
.arg( Utils::ratioToString( tor.ratio( ) ) );