From 218f386502098b005d33dcc10cd144c5325b220c Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Mon, 15 Nov 2010 17:53:25 +0000 Subject: [PATCH] BUGFIX: Fix possible incorrect behavior with queueing --- Changelog | 1 + src/bittorrent.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Changelog b/Changelog index 74c98178a..5e8c856dd 100644 --- a/Changelog +++ b/Changelog @@ -1,6 +1,7 @@ * Unreleased - Christophe Dumez - v2.4.11 - BUGFIX: Do not report a progress of 100% in the Web UI unless the torrent is really complete (closes #674349) + - BUGFIX: Fix possible incorrect behavior with queueing * Wed Nov 10 2010 - Christophe Dumez - v2.4.10 - BUGFIX: Fix possible crash when selecting a RSS item (really closes #575624) diff --git a/src/bittorrent.cpp b/src/bittorrent.cpp index f61caa6fa..439b046cc 100644 --- a/src/bittorrent.cpp +++ b/src/bittorrent.cpp @@ -2281,7 +2281,7 @@ void Bittorrent::addConsoleMessage(QString msg, QString) { else if (file_error_alert* p = dynamic_cast(a.get())) { QTorrentHandle h(p->handle); if(h.is_valid()) { - h.auto_managed(false); + h.pause(); std::cerr << "File Error: " << p->message().c_str() << std::endl; addConsoleMessage(tr("An I/O error occured, '%1' paused.").arg(h.name())); addConsoleMessage(tr("Reason: %1").arg(misc::toQString(p->message())));