- Manage country resolution on libtorrent side. The flags are not displayed in the peer list yet though

This commit is contained in:
Christophe Dumez 2009-11-15 10:59:11 +00:00
parent f7f4d1333b
commit 12106c308e
4 changed files with 31 additions and 0 deletions

View file

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