mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 07:18:08 +00: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
@ -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…
Reference in New Issue
Block a user