mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-01 22:55:41 +08:00
- Fixed: toAscii() and fromAscii() Methods are deprecated
- Fixed: Namespace conflict with IContext in blackd.cpp - Fixed: Missing include of QMessageBox, QMenu - Fixed: QBool was removed in Qt5 - Fixed: Missing include QDataStream in basestreamstringifier.h
This commit is contained in:
@@ -129,7 +129,7 @@ namespace FSD
|
||||
|
||||
qint64 message_size = message.size();
|
||||
|
||||
qint64 bytes = m_tcp_socket->write(message.toAscii());
|
||||
qint64 bytes = m_tcp_socket->write(message.toLatin1());
|
||||
if (bytes < 0 || bytes != message_size)
|
||||
{
|
||||
bWarning(m_context) << "Error writing to socket!";
|
||||
|
||||
Reference in New Issue
Block a user