Skip to content

Commit

Permalink
Fix compilation without systemd support
Browse files Browse the repository at this point in the history
  • Loading branch information
Martchus committed May 10, 2018
1 parent 1e83fef commit f8dabbc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion connector/syncthingnotifier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion widgets/misc/internalerror.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f8dabbc

Please sign in to comment.