changeset 379 | e4cd3cd209c6 |
parent 291 | afa378f1e961 |
child 380 | 86f3d818da1c |
--- a/QTfrontend/tcpBase.cpp Fri Feb 02 21:04:36 2007 +0000 +++ b/QTfrontend/tcpBase.cpp Sat Feb 03 00:04:52 2007 +0000 @@ -149,7 +149,9 @@ if(m_isDemoMode) demo->append(toSendBuf); toSendBuf.clear(); } - IPCSocket->write(buf); - if(m_isDemoMode) demo->append(buf); + if(!buf.isEmpty()) { + IPCSocket->write(buf); + if(m_isDemoMode && demo) demo->append(buf); + } } }