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;
|
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
|
#endif
|
||||||
|
|
||||||
#ifndef SYNCTHINGWIDGETS_NO_WEBVIEW
|
#ifndef SYNCTHINGWIDGETS_NO_WEBVIEW
|
||||||
|
|
|
@ -78,7 +78,6 @@ private slots:
|
||||||
#ifdef LIB_SYNCTHING_CONNECTOR_SUPPORT_SYSTEMD
|
#ifdef LIB_SYNCTHING_CONNECTOR_SUPPORT_SYSTEMD
|
||||||
bool handleSystemdStatusChanged();
|
bool handleSystemdStatusChanged();
|
||||||
bool applySystemdSettings(bool reconnectRequired = false);
|
bool applySystemdSettings(bool reconnectRequired = false);
|
||||||
void connectIfServiceRunning();
|
|
||||||
#endif
|
#endif
|
||||||
#ifndef SYNCTHINGWIDGETS_NO_WEBVIEW
|
#ifndef SYNCTHINGWIDGETS_NO_WEBVIEW
|
||||||
void handleWebViewDeleted();
|
void handleWebViewDeleted();
|
||||||
|
|
Loading…
Reference in New Issue