- BUGFIX: Fixed an ETA calculation problem when the torrent has filtered files

This commit is contained in:
Christophe Dumez
2007-10-10 19:10:34 +00:00
parent 0a0c1f3529
commit 0245bbf5ab
5 changed files with 7 additions and 6 deletions

View File

@@ -79,9 +79,9 @@ bool QTorrentHandle::is_paused() const {
// return h.get_torrent_info().total_size();
// }
size_type QTorrentHandle::total_done() const {
size_type QTorrentHandle::total_wanted_done() const {
Q_ASSERT(h.is_valid());
return h.status().total_done;
return h.status().total_wanted_done;
}
float QTorrentHandle::download_payload_rate() const {