fix read notification in QWindowsPipeReader::waitForPipeClosed
authorJoerg Bornemann <joerg.bornemann@digia.com>
Wed, 16 Apr 2014 13:08:59 +0000 (15:08 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 17 Apr 2014 16:56:27 +0000 (18:56 +0200)
commitc4c9883d13d363cf914b4ef7dd5d11b593c6b515
tree34b9544c9d2f9a8ee2cf8f405109d45513accc97
parent0c3301f0b1b516942be735291ee798914f3d9a09
fix read notification in QWindowsPipeReader::waitForPipeClosed

In QWindowsPipeReader::waitForPipeClosed we must check for available
bytes in the internal buffer and trigger the notified signal.

This fixes tst_QLocalSocket::writeToClientAndDisconnect on Windows.

Change-Id: I0f4d6cd73a0a8eac5b438b82984457068a9551d1
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
src/corelib/io/qwindowspipereader.cpp