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

@@ -12,9 +12,9 @@ SET(websocket_SRCS
NGL_ADD_EXECUTABLE(AAR SV webSocketServer ${websocket_SRCS})
NGL_TARGET_LINK_LIBRARIES(webSocketServer
Qt5::WebSockets
Qt5::Core
Qt5::Network
Qt6::WebSockets
Qt6::Core
Qt6::Network
NGLLogger
nglcoreapplication
svcEemCommon
@@ -7,6 +7,7 @@
*/
#include "web_socket_handler.h"
#include <utility>
#include <QWebSocket>
#include <iostream>
@@ -32,7 +33,7 @@ WebSocketHandler::WebSocketHandler(QObject *parent)
WebSocketHandler::~WebSocketHandler()
{
for (auto s : qAsConst(m_webSockets))
for (auto s : std::as_const(m_webSockets))
{
s->disconnect(this);
s->close();
@@ -64,7 +65,7 @@ bool WebSocketHandler::sendTelegram(const QString &jsonStr)
ERROR_LOG(m_logger) << "jsonStr" << jsonStr;
bool bOk = false;
for (QWebSocket *ws : qAsConst(m_webSockets))
for (QWebSocket *ws : std::as_const(m_webSockets))
{
if (ws->sendTextMessage(jsonStr))
bOk = true;