Add setting to ignore slow torrents in queueing system

Closes https://bugs.launchpad.net/qbittorrent/+bug/799703
This commit is contained in:
Christophe Dumez 2011-09-18 19:34:29 +03:00
commit 94f92aa4f9
40 changed files with 1287 additions and 1111 deletions

View file

@ -415,7 +415,7 @@ void QBtSession::configureSession() {
sessionSettings.active_downloads = pref.getMaxActiveDownloads();
sessionSettings.active_seeds = pref.getMaxActiveUploads();
sessionSettings.active_limit = pref.getMaxActiveTorrents();
sessionSettings.dont_count_slow_torrents = false;
sessionSettings.dont_count_slow_torrents = pref.ignoreSlowTorrentsForQueueing();
setQueueingEnabled(true);
} else {
sessionSettings.active_downloads = -1;