diff --git a/server/simulators.cpp b/server/simulators.cpp index e2c0339..0f30b5e 100644 --- a/server/simulators.cpp +++ b/server/simulators.cpp @@ -8,11 +8,7 @@ Simulators::Simulators(uint16_t port, QObject *parent) : QObject(parent), m_serv { INSERT_SIMULATOR(Test_Sim); INSERT_SIMULATOR(Can_Debugger); - setup_connections(); -} -void Simulators::setup_connections() -{ connect(m_server, &Websocket::on_message, this, [this](QWebSocket *conn, QString message) { QString response = message_parser(message); if (response.isEmpty() || response == "{}") diff --git a/server/simulators.hpp b/server/simulators.hpp index bff2b8e..f1b9e0f 100644 --- a/server/simulators.hpp +++ b/server/simulators.hpp @@ -38,7 +38,6 @@ class Simulators : public QObject }; Simulators(uint16_t port, QString can_dev, QObject *parent = nullptr); - void setup_connections(); std::string active_simulator_name() const; void run(); void stop();