mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 07:57:22 -06:00
- FEATURE: Added per-torrent super seeding mode
This commit is contained in:
@@ -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
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user