Fix ETA calculation when some files are downloaded and marked afterwards as 'do not download'.

This commit is contained in:
sledgehammer999
2013-09-01 16:45:57 +03:00
parent 37f821556e
commit 6bea659d50
2 changed files with 2 additions and 2 deletions

View File

@@ -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