ref: delete duplicate meth

This commit is contained in:
semenov
2025-09-22 11:53:54 +03:00
parent 205f60fd7d
commit b695522a68
6 changed files with 75 additions and 52 deletions

View File

@@ -24,10 +24,11 @@ void SendSystem::setClient(Client *client,QTcpSocket *socket)
isSendStopped = false;
}
void SendSystem::sendMessageBlock(QString message)
void SendSystem::sendNotify(QString notify)
{
auto messageBlock = emit sigSendNotify(message);
sendXmlAnswer(messageBlock);
qDebug() << "SendNotify thread: " << QThread::currentThreadId();
auto answer = emit sigSendNotify(notify);
sendXmlAnswer(answer);
}
void SendSystem::sendFileBlock(QString path)
@@ -234,13 +235,6 @@ void SendSystem::sendHello()
socket->write(SERVER_HELLO);
}
void SendSystem::sendNotify(QString notify)
{
qDebug() << "SendNotify thread: " << QThread::currentThreadId();
auto answer = emit sigSendNotify(notify);//"END");
sendXmlAnswer(answer);
}
void SendSystem::sendXmlAnswer(QByteArray array, PacketType packetType)
{
qDebug() << "SendSystemThread: " << QThread::currentThreadId();