Fixes: work on QT_NO_CAST_FROM_BYTEARRAY

This commit is contained in:
hjk
2009-02-19 12:11:15 +01:00
parent 57524485b7
commit 0a0586a2cf

View File

@@ -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;