mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
- BUGFIX: Fixed an ETA calculation problem when the torrent has filtered files
This commit is contained in:
parent
0a0c1f3529
commit
0245bbf5ab
5 changed files with 7 additions and 6 deletions
|
@ -148,7 +148,7 @@ void bittorrent::updateETAs() {
|
|||
listEtas.removeFirst();
|
||||
}
|
||||
if(h.download_payload_rate()) {
|
||||
listEtas << (qlonglong)((h.actual_size()-h.total_done())/(double)h.download_payload_rate());
|
||||
listEtas << (qlonglong)((h.actual_size()-h.total_wanted_done())/(double)h.download_payload_rate());
|
||||
ETAstats[hash] = listEtas;
|
||||
qlonglong moy = 0;
|
||||
qlonglong val;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue