| 367 | #endif |
| 368 | |
| 369 | void AppService::handleConnectionError( |
| 370 | const QString &errorMessage, Data::SyncthingErrorCategory category, int networkError, const QNetworkRequest &request, const QByteArray &response) |
| 371 | { |
| 372 | if (!InternalError::isRelevant(*m_data.connection(), category, errorMessage, networkError, false)) { |
| 373 | return; |
| 374 | } |
| 375 | #ifdef Q_OS_ANDROID |
| 376 | auto error = InternalError(errorMessage, request.url(), response); |
| 377 | showInternalError(error); |
| 378 | #else |
| 379 | Q_UNUSED(errorMessage) |
| 380 | Q_UNUSED(request) |
| 381 | Q_UNUSED(response) |
| 382 | #endif |
| 383 | } |
| 384 | |
| 385 | void AppService::invalidateStatus() |
| 386 | { |
nothing calls this directly
no test coverage detected