Browse Source

BUGFIX: ETA was wrong for torrents with filtered files

adaptive-webui-19844
Christophe Dumez 17 years ago
parent
commit
cdfaed4fb4
  1. 1
      Changelog
  2. 1
      TODO
  3. 2
      src/bittorrent.cpp

1
Changelog

@ -51,6 +51,7 @@ @@ -51,6 +51,7 @@
- BUGFIX: Improved unicode support
- BUGFIX: Made torrent deletion from hard-drive safer
- BUGFIX: Prevent downloadFromUrl flooding
- BUGFIX: ETA was wrong for torrents with filtered files
- COSMETIC: Redesigned torrent properties a little
- COSMETIC: Redesigned options a little
- COSMETIC: Display more logs messages concerning features

1
TODO

@ -82,5 +82,6 @@ beta5->beta6 changelog: @@ -82,5 +82,6 @@ beta5->beta6 changelog:
- BUGFIX: Made finished list context menu more similar to the download list one
- BUGFIX: Fixed Pause/Start action in lists context menus
- BUGFIX: Improved ETA calculation
- BUGFIX: ETA was wrong for torrents with filtered files
- BUGFIX: Display the torrent that are being checked as 'checking' in seeding list
- I18N: Removed no longer maintained Traditional chinese translation

2
src/bittorrent.cpp

@ -117,7 +117,7 @@ void bittorrent::updateETAs() { @@ -117,7 +117,7 @@ void bittorrent::updateETAs() {
listEtas.removeFirst();
}
if(h.download_payload_rate()) {
listEtas << (qlonglong)((h.total_size()-h.total_done())/(double)h.download_payload_rate());
listEtas << (qlonglong)((h.actual_size()-h.total_done())/(double)h.download_payload_rate());
ETAstats[hash] = listEtas;
long moy = 0;
long val;

Loading…
Cancel
Save