mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-14 02:27:09 -07:00
- FEATURE: Added per-torrent super seeding mode
This commit is contained in:
parent
74d8a00854
commit
e423285d88
6 changed files with 78 additions and 3 deletions
|
@ -168,6 +168,11 @@ fs::path QTorrentHandle::save_path_boost() const {
|
|||
return h.save_path();
|
||||
}
|
||||
|
||||
bool QTorrentHandle::super_seeding() const {
|
||||
Q_ASSERT(h.is_valid());
|
||||
return h.super_seeding();
|
||||
}
|
||||
|
||||
QStringList QTorrentHandle::url_seeds() const {
|
||||
Q_ASSERT(h.is_valid());
|
||||
QStringList res;
|
||||
|
@ -446,6 +451,11 @@ void QTorrentHandle::file_priority(int index, int priority) const {
|
|||
h.file_priority(index, priority);
|
||||
}
|
||||
|
||||
void QTorrentHandle::super_seeding(bool on) const {
|
||||
Q_ASSERT(h.is_valid());
|
||||
h.super_seeding(on);
|
||||
}
|
||||
|
||||
//
|
||||
// Operators
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue