diff options
| author | 2010-09-14 17:23:16 +0000 | |
|---|---|---|
| committer | 2010-09-14 17:23:16 +0000 | |
| commit | 90475fabc3b4d3eb8d90577aee900e82862af973 (patch) | |
| tree | d16917ef266240f11471251c93b934017c556b66 /src | |
| parent | userlist: avoid from painting more than one gender icon at once (diff) | |
| download | KVIrc-90475fabc3b4d3eb8d90577aee900e82862af973.tar.gz KVIrc-90475fabc3b4d3eb8d90577aee900e82862af973.tar.bz2 KVIrc-90475fabc3b4d3eb8d90577aee900e82862af973.zip | |
fixed writing arrays on sockets
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@5007 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src')
| -rw-r--r-- | src/modules/objects/class_socket.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/objects/class_socket.cpp b/src/modules/objects/class_socket.cpp index 1d8098efe..54587fa9c 100644 --- a/src/modules/objects/class_socket.cpp +++ b/src/modules/objects/class_socket.cpp @@ -526,6 +526,7 @@ KVSO_CLASS_FUNCTION(socket,write) } } } + delayedFlush(0); return true; } @@ -542,7 +543,7 @@ KVSO_CLASS_FUNCTION(socket,write) } else { KviFile f(szData); f.open(QIODevice::ReadOnly); - QByteArray ar= f.readAll(); + QByteArray ar = f.readAll(); m_pOutBuffer->append((const unsigned char*)ar.data(),ar.size()); f.close(); } |
