Browse Source

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

adaptive-webui-19844
sledgehammer999 10 years ago
parent
commit
97419f840a
  1. 2
      src/qtlibtorrent/qbtsession.cpp

2
src/qtlibtorrent/qbtsession.cpp

@ -752,7 +752,7 @@ bool QBtSession::hasDownloadingTorrents() const {
try { try {
const torrent_status status = torrentIT->status(); const torrent_status status = torrentIT->status();
if (status.state != torrent_status::finished && status.state != torrent_status::seeding if (status.state != torrent_status::finished && status.state != torrent_status::seeding
&& !status.paused) && !(status.paused && !status.auto_managed))
return true; return true;
} catch(std::exception) {} } catch(std::exception) {}
} }

Loading…
Cancel
Save