mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 07:27:22 -06:00
Fix ETA calculation when some files are downloaded and marked afterwards as 'do not download'.
This commit is contained in:
@@ -404,7 +404,7 @@ bool QTorrentHandle::is_checking() const {
|
||||
|
||||
size_type QTorrentHandle::total_done() const {
|
||||
#if LIBTORRENT_VERSION_NUM >= 001600
|
||||
return torrent_handle::status(0x0).total_done;
|
||||
return torrent_handle::status(query_accurate_download_counters).total_done;
|
||||
#else
|
||||
return torrent_handle::status().total_done;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user