Fix inclusion of Connection::addConfigFromWizard()
This commit is contained in:
parent
a45bd8e60e
commit
3f5bc4d772
|
@ -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.
|
||||
|
@ -607,6 +608,4 @@ void Connection::addConfigFromWizard(const Data::SyncthingConfig &config)
|
|||
primary.apiKey = apiKey;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
} // namespace Settings
|
||||
|
|
Loading…
Reference in New Issue