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() ...@@ -166,7 +166,7 @@ void QtLocalPeer::receiveConnection()
return; return;
} }
// ### async this // ### async this
QString message(QString::fromUtf8(uMsg)); QString message = QString::fromUtf8(uMsg.constData(), uMsg.size());
socket->write(ack, qstrlen(ack)); socket->write(ack, qstrlen(ack));
socket->waitForBytesWritten(1000); socket->waitForBytesWritten(1000);
delete socket; 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