diff --git a/connector/syncthingnotifier.cpp b/connector/syncthingnotifier.cpp index 0aeb5742..a2b6b233 100644 --- a/connector/syncthingnotifier.cpp +++ b/connector/syncthingnotifier.cpp @@ -126,7 +126,7 @@ bool SyncthingNotifier::isDisconnectRelevant() const && !m_service->isActiveWithoutSleepFor(m_process->activeSince(), m_ignoreInavailabilityAfterStart)) || !m_process->isActiveFor(m_ignoreInavailabilityAfterStart)) #else - && !m_process.isActiveFor(m_ignoreInavailabilityAfterStart) + && !m_process->isActiveFor(m_ignoreInavailabilityAfterStart) #endif ) { return false; diff --git a/widgets/misc/internalerror.cpp b/widgets/misc/internalerror.cpp index 505274f1..9ab09ecb 100644 --- a/widgets/misc/internalerror.cpp +++ b/widgets/misc/internalerror.cpp @@ -56,7 +56,7 @@ bool InternalError::isRelevant(const SyncthingConnection &connection, SyncthingE && !service->isActiveWithoutSleepFor(launcher->activeSince(), settings.ignoreInavailabilityAfterStart)) || !launcher->isActiveFor(settings.ignoreInavailabilityAfterStart)) #else - && !process.isActiveFor(settings.ignoreInavailabilityAfterStart) + && !launcher->isActiveFor(settings.ignoreInavailabilityAfterStart) #endif ) { return false;