MCPcopy Create free account
hub / github.com/codestation/qcma / error

Method error

common/httpdownloader.cpp:122–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122void HTTPDownloader::error(QNetworkReply::NetworkError errorCode)
123{
124 Q_UNUSED(errorCode);
125 QString str_error = reply->errorString();
126
127 qWarning() << "Network error:" << str_error;
128 emit messageSent(tr("Network error: %1").arg(str_error));
129
130 lengthMutex.unlock();
131
132 // clear the buffer so a read callback can be aborted
133 QMutexLocker locker(&dataRead);
134 buffer.clear();
135}

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected