Adds immediate migration results

This commit is contained in:
torsten committed 2026-08-18 22:12:24 +02:00
1 parent ba4121728b
commit 6a2a0667ab
2395 files changed
+357322 -2524

No files matched your search

@@ -1,6 +1,7 @@
#include "connection_handler.h"
#include <utility>
#include "client_connection.h"
@@ -17,7 +18,7 @@ ConnectionHandler::ConnectionHandler()
ConnectionHandler::~ConnectionHandler()
{
for (auto s : qAsConst(m_connections))
for (auto s : std::as_const(m_connections))
s->disconnect(this);
qDeleteAll(m_connections);
}
@@ -52,7 +53,7 @@ bool ConnectionHandler::init()
void ConnectionHandler::onUpdate()
{
emit clearFrequencyPlanningStatus();
for (ClientConnection *currentConnection : qAsConst(m_connections))
for (ClientConnection *currentConnection : std::as_const(m_connections))
currentConnection->addMessage(Messages::UpdateMessage());
}
@@ -103,6 +104,6 @@ void ConnectionHandler::onDisconnected(ClientConnection *conn)
void ConnectionHandler::onPositions(const CombatNetRadio::WebSocketInterface::Messages::ReplyMessage &positionsCnr)
{
for (ClientConnection *currentConnection : qAsConst(m_connections))
for (ClientConnection *currentConnection : std::as_const(m_connections))
currentConnection->addMessage(positionsCnr);
}