Browse Source

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

adaptive-webui-19844
Christophe Dumez 16 years ago
parent
commit
fe455970f1
  1. 2
      src/bittorrent.cpp

2
src/bittorrent.cpp

@ -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);
} }

Loading…
Cancel
Save