From 600a081627caa2cda39a54342bc54e2f8a6260d5 Mon Sep 17 00:00:00 2001 From: Sander Speetjens Date: Wed, 5 Mar 2025 15:59:32 +0100 Subject: [PATCH] simulators remove function --- server/simulators.cpp | 4 ---- server/simulators.hpp | 1 - 2 files changed, 5 deletions(-) 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();