BUGFIX: Do not report a progress of 100% in the Web UI unless the

torrent is really complete (closes #674349)
This commit is contained in:
Christophe Dumez
2010-11-12 17:15:33 +00:00
parent 34c1fd759b
commit 4d2d0bf08d
2 changed files with 6 additions and 0 deletions

View File

@@ -1,3 +1,7 @@
* Unreleased - Christophe Dumez <chris@qbittorrent.org> - v2.4.11
- BUGFIX: Do not report a progress of 100% in the Web UI unless the
torrent is really complete (closes #674349)
* Wed Nov 10 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.4.10
- BUGFIX: Fix possible crash when selecting a RSS item (really closes #575624)
- BUGFIX: Improved IPv6 support (IP filter and Peer list)

View File

@@ -259,6 +259,8 @@ window.addEvent('load', function(){
row[2] = event.priority
row[3] = event.size;
row[4] = (event.progress*100).round(1);
if(row[4] == 100.0 && event.progress != 1.0)
row[4] = 99.9;
row[5] = event.num_seeds;
row[6] = event.num_leechs;
row[7] = event.dlspeed;