mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-14 01:03:08 -07:00
Don't reannounce when removing tracker via WebAPI
Discussion: https://github.com/qbittorrent/qBittorrent/pull/21056#discussion_r1674632942 PR #21077.
This commit is contained in:
parent
49507ad670
commit
66c1acbce2
1 changed files with 0 additions and 3 deletions
|
@ -882,9 +882,6 @@ void TorrentsController::removeTrackersAction()
|
||||||
|
|
||||||
const QStringList urls = params()[u"urls"_s].split(u'|');
|
const QStringList urls = params()[u"urls"_s].split(u'|');
|
||||||
torrent->removeTrackers(urls);
|
torrent->removeTrackers(urls);
|
||||||
|
|
||||||
if (!torrent->isStopped())
|
|
||||||
torrent->forceReannounce();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void TorrentsController::addPeersAction()
|
void TorrentsController::addPeersAction()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue