From f427d267b66f987d2263ad88e95d97910dd18a29 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Thu, 21 Oct 2010 16:55:44 +0000 Subject: [PATCH] BUGFIX: Auto-disable the shutdown feature --- Changelog | 1 + src/bittorrent.cpp | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Changelog b/Changelog index d1e7bfb6b..934cddf6a 100644 --- a/Changelog +++ b/Changelog @@ -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 - v2.4.7 - BUGFIX: Display the priority column when the queueing system gets enabled diff --git a/src/bittorrent.cpp b/src/bittorrent.cpp index 753f87960..9dea1d641 100644 --- a/src/bittorrent.cpp +++ b/src/bittorrent.cpp @@ -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