mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-02 18:04:32 +00:00
- Workaround for is_seed bug: http://code.rasterbar.com/libtorrent/ticket/402
This commit is contained in:
parent
1e37858cc4
commit
4a6ab376af
@ -283,7 +283,9 @@ int QTorrentHandle::num_uploads() const {
|
|||||||
|
|
||||||
bool QTorrentHandle::is_seed() const {
|
bool QTorrentHandle::is_seed() const {
|
||||||
Q_ASSERT(h.is_valid());
|
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 {
|
bool QTorrentHandle::is_auto_managed() const {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user