Commit 069fbe8d authored by Max-Wilhelm Bruker's avatar Max-Wilhelm Bruker
Browse files

added flush call

parent fd828986
...@@ -100,6 +100,7 @@ void ServerSocketInterface::catchSocketError(QAbstractSocket::SocketError socket ...@@ -100,6 +100,7 @@ void ServerSocketInterface::catchSocketError(QAbstractSocket::SocketError socket
void ServerSocketInterface::sendProtocolItem(ProtocolItem *item, bool deleteItem) void ServerSocketInterface::sendProtocolItem(ProtocolItem *item, bool deleteItem)
{ {
item->write(xmlWriter); item->write(xmlWriter);
socket->flush();
if (deleteItem) if (deleteItem)
delete item; delete item;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment