Cleanup unused code
This commit is contained in:
parent
8bb4fa3f35
commit
9b41ed66bb
3 changed files with 0 additions and 7 deletions
|
@ -15,10 +15,8 @@
|
|||
#include <QStandardPaths>
|
||||
#include <QThread>
|
||||
|
||||
#include "ipaddress.h"
|
||||
#include "leakdetector.h"
|
||||
#include "logger.h"
|
||||
#include "models/server.h"
|
||||
#include "daemon/daemonerrors.h"
|
||||
|
||||
#include "core/ipcclient.h"
|
||||
|
@ -128,7 +126,6 @@ void LocalSocketController::daemonConnected() {
|
|||
}
|
||||
|
||||
void LocalSocketController::activate(const QJsonObject &rawConfig) {
|
||||
|
||||
m_RawConfig = rawConfig;
|
||||
|
||||
QString protocolName = rawConfig.value("protocol").toString();
|
||||
|
@ -230,7 +227,6 @@ void LocalSocketController::activate(const QJsonObject &rawConfig) {
|
|||
|
||||
json.insert("allowedIPAddressRanges", jsAllowedIPAddesses);
|
||||
|
||||
|
||||
QJsonArray jsExcludedAddresses;
|
||||
jsExcludedAddresses.append(wgConfig.value(amnezia::config_key::hostName));
|
||||
if (splitTunnelType == 2) {
|
||||
|
@ -276,7 +272,6 @@ void LocalSocketController::activate(const QJsonObject &rawConfig) {
|
|||
json.insert(amnezia::config_key::transportPacketMagicHeader, wgConfig.value(amnezia::config_key::transportPacketMagicHeader));
|
||||
}
|
||||
|
||||
|
||||
write(json);
|
||||
}
|
||||
|
||||
|
|
|
@ -65,7 +65,6 @@ class LocalSocketController final : public ControllerImpl {
|
|||
QJsonObject m_RawConfig;
|
||||
|
||||
QTimer m_initializingTimer;
|
||||
QTimer m_statusTimer;
|
||||
uint32_t m_initializingRetry = 0;
|
||||
};
|
||||
|
||||
|
|
|
@ -196,7 +196,6 @@ bool IpcServer::startNetworkCheck(const QString& serverIpv4Gateway, const QStrin
|
|||
|
||||
bool IpcServer::stopNetworkCheck()
|
||||
{
|
||||
|
||||
qDebug() << "stopNetworkCheck";
|
||||
m_pingHelper.stop();
|
||||
return true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue