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

Method handleConnectionError

syncthingwidgets/quick/appservice.cpp:369–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367#endif
368
369void 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
385void AppService::invalidateStatus()
386{

Callers

nothing calls this directly

Calls 1

connectionMethod · 0.80

Tested by

no test coverage detected