From ede633ea03b66fb1303eb91ab3089322b9da3336 Mon Sep 17 00:00:00 2001 From: "vladimir.kuznetsov" Date: Wed, 14 Aug 2024 19:46:20 +0400 Subject: [PATCH] temporarily disabled the running service check --- client/ui/controllers/connectionController.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/client/ui/controllers/connectionController.cpp b/client/ui/controllers/connectionController.cpp index 76c352f4..216775ba 100644 --- a/client/ui/controllers/connectionController.cpp +++ b/client/ui/controllers/connectionController.cpp @@ -36,13 +36,13 @@ ConnectionController::ConnectionController(const QSharedPointer &s void ConnectionController::openConnection() { -#if !defined(Q_OS_ANDROID) && !defined(Q_OS_IOS) - if (!Utils::processIsRunning(Utils::executable(SERVICE_NAME, false), true)) - { - emit connectionErrorOccurred(ErrorCode::AmneziaServiceNotRunning); - return; - } -#endif +// #if !defined(Q_OS_ANDROID) && !defined(Q_OS_IOS) +// if (!Utils::processIsRunning(Utils::executable(SERVICE_NAME, false), true)) +// { +// emit connectionErrorOccurred(ErrorCode::AmneziaServiceNotRunning); +// return; +// } +// #endif int serverIndex = m_serversModel->getDefaultServerIndex(); QJsonObject serverConfig = m_serversModel->getServerConfig(serverIndex);