Browse Source

Visually show that the private flag are respected and that PEX/DHT/LSD is disabled. Closes #880.

adaptive-webui-19844
sledgehammer999 11 years ago
parent
commit
4f8ccd0dfc
  1. 4
      src/properties/trackerlist.cpp

4
src/properties/trackerlist.cpp

@ -205,13 +205,13 @@ void TrackerList::loadStickyItems(const QTorrentHandle &h) {
} }
// Load PeX Information // Load PeX Information
if (QBtSession::instance()->isPexEnabled()) if (QBtSession::instance()->isPexEnabled() && !h.priv())
pex_item->setText(COL_STATUS, tr("Working")); pex_item->setText(COL_STATUS, tr("Working"));
else else
pex_item->setText(COL_STATUS, tr("Disabled")); pex_item->setText(COL_STATUS, tr("Disabled"));
// Load LSD Information // Load LSD Information
if (QBtSession::instance()->isLSDEnabled()) if (QBtSession::instance()->isLSDEnabled() && !h.priv())
lsd_item->setText(COL_STATUS, tr("Working")); lsd_item->setText(COL_STATUS, tr("Working"));
else else
lsd_item->setText(COL_STATUS, tr("Disabled")); lsd_item->setText(COL_STATUS, tr("Disabled"));

Loading…
Cancel
Save