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

@@ -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