Browse Source

Fix DHT wrongly reported as disabled for magnet links (closes #987340)

adaptive-webui-19844
Christophe Dumez 13 years ago
parent
commit
179985954c
  1. 2
      src/properties/trackerlist.cpp

2
src/properties/trackerlist.cpp

@ -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…
Cancel
Save