mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03: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
|
@ -137,6 +137,9 @@ size_type QTorrentHandle::actual_size() const{
|
|||
}
|
||||
Q_ASSERT(size >= 0 && size <= h.get_torrent_info().total_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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue