mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 18:56:08 +03:00
Treat errored torrents as finished
This commit is contained in:
parent
53f29613c2
commit
12d396ffc5
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue