From 7c1ca629dfc349d7156d2dd177882f98d07cf275 Mon Sep 17 00:00:00 2001 From: Max-Wilhelm Bruker Date: Sun, 3 Jun 2012 20:29:33 +0200 Subject: [PATCH] cleaned up remoteclient.cpp compiler warnings --- cockatrice/src/remoteclient.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cockatrice/src/remoteclient.cpp b/cockatrice/src/remoteclient.cpp index a2dfc78e..3ef2c658 100644 --- a/cockatrice/src/remoteclient.cpp +++ b/cockatrice/src/remoteclient.cpp @@ -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);