MCPcopy Create free account
hub / github.com/Martchus/syncthingtray / handleResponse

Method handleResponse

cli/application.cpp:327–337  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

325}
326
327void Application::handleResponse()
328{
329 if (!m_expectedResponse) {
330 cerr << Phrases::Error << "Unexpected response" << Phrases::End << flush;
331 QCoreApplication::exit(-4);
332 return;
333 }
334 if (!--m_expectedResponse) {
335 QCoreApplication::quit();
336 }
337}
338
339void Application::handleError(
340 const QString &message, SyncthingErrorCategory category, int networkError, const QNetworkRequest &request, const QByteArray &response)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected