mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-11-27 11:49:01 +03:00
Fix possible issue with queueing
This commit is contained in:
parent
df04427c6a
commit
3144bfebc7
1 changed files with 1 additions and 1 deletions
|
@ -2224,7 +2224,7 @@ void QBtSession::readAlerts() {
|
|||
else if (file_error_alert* p = dynamic_cast<file_error_alert*>(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())));
|
||||
|
|
Loading…
Reference in a new issue