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

Method handleConnectionStatusChanged

syncthingwidgets/quick/appservice.cpp:446–459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

444}
445
446void AppService::handleConnectionStatusChanged(Data::SyncthingStatus newStatus)
447{
448 invalidateStatus();
449#ifdef Q_OS_ANDROID
450 switch (newStatus) {
451 case Data::SyncthingStatus::Reconnecting:
452 clearSyncthingErrorsNotification();
453 break;
454 default:;
455 }
456#else
457 Q_UNUSED(newStatus)
458#endif
459}
460
461#ifdef Q_OS_ANDROID
462#ifdef SYNCTHINGTRAY_SERVICE_WITH_ICON_RENDERING

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected