Commit 0a0586a2 authored by hjk's avatar hjk
Browse files

Fixes: work on QT_NO_CAST_FROM_BYTEARRAY

parent 57524485
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment