mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-15 01:33:07 -07:00
BUGFIX: ETA was wrong for torrents with filtered files
This commit is contained in:
parent
21908e0a03
commit
cdfaed4fb4
3 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue