QTfrontend/game.cpp
changeset 2382 bfd378dfc4e7
parent 2377 f3fab2b09e0c
child 2383 cc7d1ad986c6
--- a/QTfrontend/game.cpp	Wed Sep 16 12:48:27 2009 +0000
+++ b/QTfrontend/game.cpp	Wed Sep 16 14:44:40 2009 +0000
@@ -164,6 +164,7 @@
 
 void HWGame::ParseMessage(const QByteArray & msg)
 {
+qDebug() << msg;
 	switch(msg.at(1)) {
 		case '?': {
 			SendIPC("!");
@@ -210,7 +211,7 @@
 		}
 		case 'i': {
 			int size = msg.size();
-			emit GameStats(msg.at(2), QString::fromUtf8(msg.mid(3).left(size - 5)));
+			emit GameStats(msg.at(2), QString::fromUtf8(msg.mid(3)));
 			break;
 		}
 		case 'Q': {