fix for not closing proparly

This commit is contained in:
2026-02-01 19:00:57 +01:00
parent b1a2ee3fb3
commit 29f88ff359
+2 -2
View File
@@ -2,9 +2,9 @@
SimulatorBase::SimulatorBase(Web_socket_wrapper* web_socket, QWidget* parent) :
QMainWindow{parent},
m_error_dialog(new NetworkError(this))
m_error_dialog(new NetworkError(this)),
m_web_socket(web_socket)
{
this->m_web_socket = web_socket;
m_error_dialog->set_error("Connection timed out\nCheck if the server is running");
ui_lookup.reserve(40);
}