mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-20 15:37:26 -06:00
Let ReverseResolution always return/emit a result
This commit is contained in:
@@ -428,6 +428,9 @@ void PeerListWidget::updatePeer(const BitTorrent::TorrentHandle *torrent, const
|
||||
|
||||
void PeerListWidget::handleResolved(const QHostAddress &ip, const QString &hostname) const
|
||||
{
|
||||
if (hostname.isEmpty())
|
||||
return;
|
||||
|
||||
const QSet<QStandardItem *> items = m_itemsByIP.value(ip);
|
||||
for (QStandardItem *item : items)
|
||||
item->setData(hostname, Qt::DisplayRole);
|
||||
|
||||
Reference in New Issue
Block a user