Improve add torrent error handling

PR #22468.
This commit is contained in:
Vladimir Golovnev
2025-03-25 09:13:15 +03:00
committed by Vladimir Golovnev (Glassez)
parent eaf9017aa4
commit 9515ca59f2
9 changed files with 78 additions and 14 deletions

View File

@@ -375,7 +375,7 @@ void AutoDownloader::handleTorrentAdded(const QString &source)
}
}
void AutoDownloader::handleAddTorrentFailed(const QString &source)
void AutoDownloader::handleAddTorrentFailed(const QString &source, [[maybe_unused]] const BitTorrent::AddTorrentError &error)
{
m_waitingJobs.remove(source);
// TODO: Re-schedule job here.