mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
Treat errored torrents as finished
This commit is contained in:
@@ -1764,7 +1764,7 @@ bool Session::hasUnfinishedTorrents() const
|
||||
{
|
||||
return std::any_of(m_torrents.begin(), m_torrents.end(), [](const TorrentImpl *torrent)
|
||||
{
|
||||
return (!torrent->isSeed() && !torrent->isPaused());
|
||||
return (!torrent->isSeed() && !torrent->isPaused() && !torrent->isErrored());
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user