From 4f8ccd0dfc8b119071a15543f98772fd3b6bc4fb Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Sun, 1 Sep 2013 22:28:57 +0300 Subject: [PATCH] Visually show that the private flag are respected and that PEX/DHT/LSD is disabled. Closes #880. --- src/properties/trackerlist.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/properties/trackerlist.cpp b/src/properties/trackerlist.cpp index 56ea1bc0d..a0ed5c189 100644 --- a/src/properties/trackerlist.cpp +++ b/src/properties/trackerlist.cpp @@ -205,13 +205,13 @@ void TrackerList::loadStickyItems(const QTorrentHandle &h) { } // Load PeX Information - if (QBtSession::instance()->isPexEnabled()) + if (QBtSession::instance()->isPexEnabled() && !h.priv()) pex_item->setText(COL_STATUS, tr("Working")); else pex_item->setText(COL_STATUS, tr("Disabled")); // Load LSD Information - if (QBtSession::instance()->isLSDEnabled()) + if (QBtSession::instance()->isLSDEnabled() && !h.priv()) lsd_item->setText(COL_STATUS, tr("Working")); else lsd_item->setText(COL_STATUS, tr("Disabled"));