From 97419f840abbda9cb6d3c26cd496a77387c75dca Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Sun, 21 Sep 2014 13:50:32 +0300 Subject: [PATCH] Consider queued items before deciding to 'auto-shutdown on downloads completion'. Closes #1942. --- src/qtlibtorrent/qbtsession.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qtlibtorrent/qbtsession.cpp b/src/qtlibtorrent/qbtsession.cpp index faf4bbcb9..818cff613 100755 --- a/src/qtlibtorrent/qbtsession.cpp +++ b/src/qtlibtorrent/qbtsession.cpp @@ -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) {} }