mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 15:27:54 +00:00
Fix resolution of peer host names. Closes #4307.
This commit is contained in:
parent
39ad4d65e8
commit
ebe6d1b603
@ -70,7 +70,6 @@ public:
|
|||||||
void loadPeers(BitTorrent::TorrentHandle *const torrent, bool forceHostnameResolution = false);
|
void loadPeers(BitTorrent::TorrentHandle *const torrent, bool forceHostnameResolution = false);
|
||||||
QStandardItem *addPeer(const QString &ip, const BitTorrent::PeerInfo &peer);
|
QStandardItem *addPeer(const QString &ip, const BitTorrent::PeerInfo &peer);
|
||||||
void updatePeer(const QString &ip, const BitTorrent::PeerInfo &peer);
|
void updatePeer(const QString &ip, const BitTorrent::PeerInfo &peer);
|
||||||
void handleResolved(const QString &ip, const QString &hostname);
|
|
||||||
void updatePeerHostNameResolutionState();
|
void updatePeerHostNameResolutionState();
|
||||||
void updatePeerCountryResolutionState();
|
void updatePeerCountryResolutionState();
|
||||||
void clear();
|
void clear();
|
||||||
@ -82,6 +81,7 @@ private slots:
|
|||||||
void banSelectedPeers();
|
void banSelectedPeers();
|
||||||
void copySelectedPeers();
|
void copySelectedPeers();
|
||||||
void handleSortColumnChanged(int col);
|
void handleSortColumnChanged(int col);
|
||||||
|
void handleResolved(const QString &ip, const QString &hostname);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QStandardItemModel *m_listModel;
|
QStandardItemModel *m_listModel;
|
||||||
|
Loading…
Reference in New Issue
Block a user