mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-30 19:40:18 -07:00
- Manage country resolution on libtorrent side. The flags are not displayed in the peer list yet though
This commit is contained in:
parent
f7f4d1333b
commit
12106c308e
4 changed files with 31 additions and 0 deletions
|
@ -374,6 +374,11 @@ bool QTorrentHandle::is_sequential_download() const {
|
|||
return h.is_sequential_download();
|
||||
}
|
||||
|
||||
bool QTorrentHandle::resolve_countries() const {
|
||||
Q_ASSERT(h.is_valid());
|
||||
return h.resolve_countries();
|
||||
}
|
||||
|
||||
//
|
||||
// Setters
|
||||
//
|
||||
|
@ -487,6 +492,11 @@ void QTorrentHandle::super_seeding(bool on) const {
|
|||
h.super_seeding(on);
|
||||
}
|
||||
|
||||
void QTorrentHandle::resolve_countries(bool r) {
|
||||
Q_ASSERT(h.is_valid());
|
||||
h.resolve_countries(r);
|
||||
}
|
||||
|
||||
//
|
||||
// Operators
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue