Browse Source

- Workaround for is_seed bug: http://code.rasterbar.com/libtorrent/ticket/402

adaptive-webui-19844
Christophe Dumez 16 years ago
parent
commit
4a6ab376af
  1. 4
      src/qtorrenthandle.cpp

4
src/qtorrenthandle.cpp

@ -283,7 +283,9 @@ int QTorrentHandle::num_uploads() const { @@ -283,7 +283,9 @@ int QTorrentHandle::num_uploads() const {
bool QTorrentHandle::is_seed() const {
Q_ASSERT(h.is_valid());
return h.is_seed();
// Affected by bug http://code.rasterbar.com/libtorrent/ticket/402
//return h.is_seed();
return (progress() == 1.);
}
bool QTorrentHandle::is_auto_managed() const {

Loading…
Cancel
Save