mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
- Make use of h.is_seed() instead of h.progress() == 1.
This commit is contained in:
@@ -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
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user