Remove unused function in TrayWidget
This commit is contained in:
parent
cdd78fb026
commit
8b6cf6a282
|
@ -530,14 +530,6 @@ bool TrayWidget::applySystemdSettings(bool reconnectRequired)
|
|||
}
|
||||
return isServiceRelevant && isServiceRunning;
|
||||
}
|
||||
|
||||
void TrayWidget::connectIfServiceRunning()
|
||||
{
|
||||
const auto *const service(SyncthingService::mainInstance());
|
||||
if (Settings::values().systemd.considerForReconnect && m_connection.isLocal() && service && service->isRunning()) {
|
||||
m_connection.connect();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef SYNCTHINGWIDGETS_NO_WEBVIEW
|
||||
|
|
|
@ -78,7 +78,6 @@ private slots:
|
|||
#ifdef LIB_SYNCTHING_CONNECTOR_SUPPORT_SYSTEMD
|
||||
bool handleSystemdStatusChanged();
|
||||
bool applySystemdSettings(bool reconnectRequired = false);
|
||||
void connectIfServiceRunning();
|
||||
#endif
|
||||
#ifndef SYNCTHINGWIDGETS_NO_WEBVIEW
|
||||
void handleWebViewDeleted();
|
||||
|
|
Loading…
Reference in New Issue