mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
BUGFIX: ETA was wrong for torrents with filtered files
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user