Browse Source

Fix possible issue with queueing

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
3144bfebc7
  1. 2
      src/qtlibtorrent/qbtsession.cpp

2
src/qtlibtorrent/qbtsession.cpp

@ -2224,7 +2224,7 @@ void QBtSession::readAlerts() { @@ -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…
Cancel
Save