mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 14:57:52 +00:00
Fix DHT wrongly reported as disabled for magnet links (closes #987340)
This commit is contained in:
parent
ef34285855
commit
179985954c
@ -202,7 +202,7 @@ void TrackerList::loadStickyItems(const QTorrentHandle &h) {
|
||||
++nb_pex;
|
||||
}
|
||||
// load DHT information
|
||||
if (QBtSession::instance()->isDHTEnabled() && h.has_metadata() && !h.priv()) {
|
||||
if (QBtSession::instance()->isDHTEnabled() && !h.priv()) {
|
||||
dht_item->setText(COL_STATUS, tr("Working"));
|
||||
} else {
|
||||
dht_item->setText(COL_STATUS, tr("Disabled"));
|
||||
|
Loading…
Reference in New Issue
Block a user