added flush call

This commit is contained in:
Max-Wilhelm Bruker 2011-03-07 17:01:59 +01:00
parent fd828986e5
commit 069fbe8dae

View file

@ -100,6 +100,7 @@ void ServerSocketInterface::catchSocketError(QAbstractSocket::SocketError socket
void ServerSocketInterface::sendProtocolItem(ProtocolItem *item, bool deleteItem)
{
item->write(xmlWriter);
socket->flush();
if (deleteItem)
delete item;
}