mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 23:47:23 -06:00
Fix resolution of peer host names. Closes #4307.
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user