diff --git a/LibInstructorsAndTrainees/connectorToServer/connectortoserver.cpp b/LibInstructorsAndTrainees/connectorToServer/connectortoserver.cpp index 7208aa4..d93c29f 100644 --- a/LibInstructorsAndTrainees/connectorToServer/connectortoserver.cpp +++ b/LibInstructorsAndTrainees/connectorToServer/connectortoserver.cpp @@ -199,6 +199,7 @@ void ConnectorToServer::createObjects() client->moveToThread(connectionThread); dataParser = new DataParser; + dataParser->moveToThread(connectionThread); sendSystem = new SendSystem; sendSystem->moveToThread(connectionThread); diff --git a/LibServer/Systems/processingsystem.cpp b/LibServer/Systems/processingsystem.cpp index daf40ac..2685d8d 100644 --- a/LibServer/Systems/processingsystem.cpp +++ b/LibServer/Systems/processingsystem.cpp @@ -322,6 +322,7 @@ void ProcessingSystem::processingClientQueryToDB(ClientHandler *client, ClientQu //client->sendXmlAnswer(arrayAnswer, PacketType::TYPE_XMLANSWER_QUERY_DB__LIST_TRAINEES); client->sendFileBlockByteArray(arrayAnswer, PacketType::TYPE_XMLANSWER_QUERY_DB__LIST_TRAINEES); + /**/ for(Trainee trainee : listTrainees) { //Отправка списка задач AMM этого обучаемого клиенту GUI