From: Kai Koehne Date: Wed, 8 Jun 2011 18:51:07 +0000 (+0200) Subject: QDeclarativeDebug: Don't hang if started with ',block' argument X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=434df838c11063dfea95b1d26d0576ea661d10ba;p=konrad%2Fqtdeclarative.git QDeclarativeDebug: Don't hang if started with ',block' argument Fixes regression introduced in a59261454071 Reviewed-by: Christiaan Janssen (cherry picked from commit e3b5de8651586cf5484fd8ab217cddf17f0fe01e) --- diff --git a/src/declarative/debugger/qpacketprotocol.cpp b/src/declarative/debugger/qpacketprotocol.cpp index a40a9ab..9caaa79 100644 --- a/src/declarative/debugger/qpacketprotocol.cpp +++ b/src/declarative/debugger/qpacketprotocol.cpp @@ -198,6 +198,8 @@ public Q_SLOTS: packets.append(inProgress); inProgressSize = -1; inProgress.clear(); + + waitingForPacket = false; emit readyRead(); } else return;