- Make use of h.is_seed() instead of h.progress() == 1.

This commit is contained in:
Christophe Dumez 2008-09-03 18:19:17 +00:00
parent 8440e9982f
commit a622152747
3 changed files with 7 additions and 1 deletions

View file

@ -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
//