mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
- Manage country resolution on libtorrent side. The flags are not displayed in the peer list yet though
This commit is contained in:
@@ -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
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user