mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 07:57:22 -06:00
- use std error output instead of debug output for file error message
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user