QTfrontend/tcpBase.cpp
changeset 533 eebb7684ac22
parent 486 7ea71cd3acd5
child 1066 1f1b3686a2b0
equal deleted inserted replaced
532:8136a5363586 533:eebb7684ac22
   148 	} else
   148 	} else
   149 	{
   149 	{
   150 		if (toSendBuf.size() > 0)
   150 		if (toSendBuf.size() > 0)
   151 		{
   151 		{
   152 			IPCSocket->write(toSendBuf);
   152 			IPCSocket->write(toSendBuf);
   153 			if(m_isDemoMode) demo->append(toSendBuf);
   153 			if(m_isDemoMode) demo.append(toSendBuf);
   154 			toSendBuf.clear();
   154 			toSendBuf.clear();
   155 		}
   155 		}
   156 		if(!buf.isEmpty()) {
   156 		if(!buf.isEmpty()) {
   157 		  IPCSocket->write(buf);
   157 		  IPCSocket->write(buf);
   158 		  if(m_isDemoMode && demo) demo->append(buf);
   158 		  if(m_isDemoMode) demo.append(buf);
   159 		}
   159 		}
   160 	}
   160 	}
   161 }
   161 }