1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-02-03 02:14:16 +00:00

Consider queued items before deciding to 'auto-shutdown on downloads completion'. Closes #1942.

This commit is contained in:
sledgehammer999 2014-09-21 13:50:32 +03:00
parent 0650d28da7
commit 97419f840a

View File

@ -752,7 +752,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) {}
}