Improved hostname resolution code

This commit is contained in:
Christophe Dumez
2011-01-22 18:55:54 +00:00
parent 51bc67042e
commit 844bd52c67
3 changed files with 36 additions and 135 deletions

View File

@@ -65,7 +65,7 @@ public slots:
void loadPeers(const QTorrentHandle &h, bool force_hostname_resolution=false);
QStandardItem* addPeer(QString ip, libtorrent::peer_info peer);
void updatePeer(QString ip, libtorrent::peer_info peer);
void handleResolved(QString ip, QString hostname);
void handleResolved(const QString &ip, const QString &hostname);
void updatePeerHostNameResolutionState();
void updatePeerCountryResolutionState();
void clear();