mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-23 01:40:00 +00:00
Fix DHT wrongly reported as disabled for magnet links (closes #987340)
This commit is contained in:
parent
17b7ff3fd2
commit
8b53028828
@ -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