mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-28 05:27:15 +03:00
- Workaround for is_seed bug: http://code.rasterbar.com/libtorrent/ticket/402
This commit is contained in:
parent
1e37858cc4
commit
4a6ab376af
1 changed files with 3 additions and 1 deletions
|
@ -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…
Reference in a new issue