mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-05 20:51:25 -07:00
Fix DHT wrongly reported as disabled for magnet links (closes #987340)
This commit is contained in:
parent
17b7ff3fd2
commit
8b53028828
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ void TrackerList::loadStickyItems(const QTorrentHandle &h) {
|
||||||
++nb_pex;
|
++nb_pex;
|
||||||
}
|
}
|
||||||
// load DHT information
|
// 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"));
|
dht_item->setText(COL_STATUS, tr("Working"));
|
||||||
} else {
|
} else {
|
||||||
dht_item->setText(COL_STATUS, tr("Disabled"));
|
dht_item->setText(COL_STATUS, tr("Disabled"));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue