| 325 | } |
| 326 | |
| 327 | void 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 | |
| 339 | void Application::handleError( |
| 340 | const QString &message, SyncthingErrorCategory category, int networkError, const QNetworkRequest &request, const QByteArray &response) |
nothing calls this directly
no outgoing calls
no test coverage detected