Browse Source

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

adaptive-webui-19844
Christophe Dumez 17 years ago
parent
commit
b0140fbdbe
  1. 1
      TODO
  2. 3
      src/qtorrenthandle.cpp

1
TODO

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

3
src/qtorrenthandle.cpp

@ -137,6 +137,9 @@ size_type QTorrentHandle::actual_size() const{ @@ -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…
Cancel
Save