- BUGFIX: Torrents paused due to an I/O error were displayed as queued

This commit is contained in:
Christophe Dumez 2009-01-15 15:54:03 +00:00
parent 2edbe66d91
commit ae81dbe088
2 changed files with 2 additions and 0 deletions

View file

@ -1138,6 +1138,7 @@ void bittorrent::readAlerts() {
}
else if (file_error_alert* p = dynamic_cast<file_error_alert*>(a.get())) {
QTorrentHandle h(p->handle);
h.auto_managed(false);
qDebug("File Error: %s", p->message().c_str());
if(h.is_valid())
emit fullDiskError(h);