mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07: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:
parent
abcd2b7600
commit
b0140fbdbe
2 changed files with 4 additions and 0 deletions
1
TODO
1
TODO
|
@ -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
|
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue