mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 11:38:50 -07:00
- Make use of h.is_seed() instead of h.progress() == 1.
This commit is contained in:
parent
8440e9982f
commit
a622152747
3 changed files with 7 additions and 1 deletions
|
@ -261,6 +261,11 @@ int QTorrentHandle::num_uploads() const {
|
|||
return h.status().num_uploads;
|
||||
}
|
||||
|
||||
bool QTorrentHandle::is_seed() const {
|
||||
Q_ASSERT(h.is_valid());
|
||||
return h.is_seed();
|
||||
}
|
||||
|
||||
//
|
||||
// Setters
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue