1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

- We have an optimized way to get the torrent actual size using libtorrent but this is buggy. Hence we don't use it yet.

This commit is contained in:
Christophe Dumez 2007-09-29 08:32:22 +00:00
parent abcd2b7600
commit b0140fbdbe
2 changed files with 4 additions and 0 deletions

1
TODO
View File

@ -55,6 +55,7 @@
- debug new torrent content selection - debug new torrent content selection
- Recheck doc - Recheck doc
- Translations update (IN PROGRESS) - Translations update (IN PROGRESS)
- Make use of total_wanted
rc2->rc3 changelog: rc2->rc3 changelog:
- BUGFIX: Fixed compilation problem on FreeBSD - BUGFIX: Fixed compilation problem on FreeBSD

View File

@ -137,6 +137,9 @@ size_type QTorrentHandle::actual_size() const{
} }
Q_ASSERT(size >= 0 && size <= h.get_torrent_info().total_size()); Q_ASSERT(size >= 0 && size <= h.get_torrent_info().total_size());
return size; return size;
// TODO: Wait until this bug is fixed in libtorrent
// http://code.rasterbar.com/libtorrent/ticket/144
//return h.status().total_wanted;
} }
bool QTorrentHandle::has_filtered_pieces() const { bool QTorrentHandle::has_filtered_pieces() const {