Skip to content

Commit

Permalink
Fix inclusion of Connection::addConfigFromWizard()
Browse files Browse the repository at this point in the history
  • Loading branch information
Martchus committed Oct 4, 2022
1 parent a45bd8e commit 3f5bc4d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions widgets/settings/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,7 @@ Systemd::ServiceStatus Systemd::status(SyncthingConnection &connection) const
const auto isRelevant = service->isSystemdAvailable() && connection.isLocal();
return ServiceStatus{ isRelevant, service->isRunning(), considerForReconnect && isRelevant, showButton && isRelevant, service->isUserScope() };
}
#endif

/*!
* \brief Add the specified \a config as primary config possibly backing up the current primary config as secondary config.
Expand Down Expand Up @@ -607,6 +608,4 @@ void Connection::addConfigFromWizard(const Data::SyncthingConfig &config)
primary.apiKey = apiKey;
}

#endif

} // namespace Settings

0 comments on commit 3f5bc4d

Please sign in to comment.