Skip to content
Snippets Groups Projects
Commit 0a0586a2 authored by hjk's avatar hjk
Browse files

Fixes: work on QT_NO_CAST_FROM_BYTEARRAY

parent 57524485
No related branches found
No related tags found
No related merge requests found
......@@ -166,7 +166,7 @@ void QtLocalPeer::receiveConnection()
return;
}
// ### async this
QString message(QString::fromUtf8(uMsg));
QString message = QString::fromUtf8(uMsg.constData(), uMsg.size());
socket->write(ack, qstrlen(ack));
socket->waitForBytesWritten(1000);
delete socket;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment