- ETA calculation now relies on average speed over all sessions

- New ETA calculation system saves memory
- Updated Changelog
This commit is contained in:
Christophe Dumez 2008-11-02 13:07:38 +00:00
parent 9b67807926
commit e5b6a5605a
6 changed files with 22 additions and 87 deletions

View file

@ -291,6 +291,11 @@ bool QTorrentHandle::is_auto_managed() const {
return h.is_auto_managed();
}
int QTorrentHandle::active_time() const {
Q_ASSERT(h.is_valid());
return h.status().active_time;
}
//
// Setters
//