mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-16 02:03:07 -07:00
Visually show that the private flag are respected and that PEX/DHT/LSD is disabled. Closes #880.
This commit is contained in:
parent
04430a4cdd
commit
4f8ccd0dfc
1 changed files with 2 additions and 2 deletions
|
@ -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"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue