Fix a debug print to avoid spamming the log
This commit is contained in:
parent
a6452f781c
commit
bbd18b4f65
@ -117,7 +117,7 @@ void TcpServer::sendData(const QUuid &clientId, const QByteArray &data)
|
|||||||
QTcpSocket *client = nullptr;
|
QTcpSocket *client = nullptr;
|
||||||
client = m_clientList.value(clientId);
|
client = m_clientList.value(clientId);
|
||||||
if (client) {
|
if (client) {
|
||||||
qCDebug(dcTcpServer()) << "Sending to client" << clientId.toString() << data;
|
qCDebug(dcTcpServerTraffic()) << "Sending to client" << clientId.toString() << data;
|
||||||
client->write(data + '\n');
|
client->write(data + '\n');
|
||||||
} else {
|
} else {
|
||||||
qCWarning(dcTcpServer()) << "Client" << clientId << "unknown to this transport";
|
qCWarning(dcTcpServer()) << "Client" << clientId << "unknown to this transport";
|
||||||
|
|||||||
Reference in New Issue
Block a user