BUGFIX: Auto-disable the shutdown feature

This commit is contained in:
Christophe Dumez
2010-10-21 16:55:44 +00:00
parent a7a8265053
commit f427d267b6
2 changed files with 3 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
- BUGFIX: Fix possible crash on manual peer ban
- BUGFIX: Improved hostname resolution code
- BUGFIX: Several search plugins fixed
- BUGFIX: Auto-disable the shutdown feature
* Tue Oct 19 2010 - Christophe Dumez <chris@qbittorrent.org> - v2.4.7
- BUGFIX: Display the priority column when the queueing system gets enabled

View File

@@ -2081,6 +2081,8 @@ void Bittorrent::addConsoleMessage(QString msg, QString) {
// Auto-Shutdown
if(will_shutdown) {
qDebug("Preparing for auto-shutdown because all downloads are complete!");
// Disabling it for next time
Preferences::setShutdownWhenDownloadsComplete(false);
#if LIBTORRENT_VERSION_MINOR < 15
saveDHTEntry();
#endif