mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-21 13:53:37 -07:00
Consider queued items before deciding to 'auto-shutdown on downloads completion'. Closes #1942.
This commit is contained in:
parent
238715ad22
commit
26896de9ad
1 changed files with 1 additions and 1 deletions
|
@ -800,7 +800,7 @@ bool QBtSession::hasDownloadingTorrents() const {
|
|||
try {
|
||||
const torrent_status status = torrentIT->status();
|
||||
if (status.state != torrent_status::finished && status.state != torrent_status::seeding
|
||||
&& !status.paused)
|
||||
&& !(status.paused && !status.auto_managed))
|
||||
return true;
|
||||
} catch(std::exception) {}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue