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:
parent
abcd2b7600
commit
b0140fbdbe
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…
Reference in New Issue
Block a user