1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-11 07:18:08 +00:00

- use std error output instead of debug output for file error message

This commit is contained in:
Christophe Dumez 2009-03-26 21:08:10 +00:00
parent 36871a34ad
commit fe455970f1

View File

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