Commit 7c1ca629 authored by Max-Wilhelm Bruker's avatar Max-Wilhelm Bruker
Browse files

cleaned up remoteclient.cpp compiler warnings

parent 25b97d1e
......@@ -136,7 +136,7 @@ void RemoteClient::readData()
ServerMessage newServerMessage;
newServerMessage.ParseFromArray(inputBuffer.data(), messageLength);
#ifdef QT_DEBUG
qDebug(("IN " + QString::number(messageLength) + ": " + QString::fromStdString(newServerMessage.ShortDebugString())).toUtf8());
qDebug() << "IN" << messageLength << QString::fromStdString(newServerMessage.ShortDebugString());
#endif
inputBuffer.remove(0, messageLength);
messageInProgress = false;
......@@ -153,7 +153,7 @@ void RemoteClient::sendCommandContainer(const CommandContainer &cont)
QByteArray buf;
unsigned int size = cont.ByteSize();
#ifdef QT_DEBUG
qDebug(("OUT " + QString::number(size) + ": " + QString::fromStdString(cont.ShortDebugString())).toUtf8());
qDebug() << "OUT" << size << QString::fromStdString(cont.ShortDebugString());
#endif
buf.resize(size + 4);
cont.SerializeToArray(buf.data() + 4, size);
......
Supports Markdown
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