diff --git a/src/corelib/io/qprocess.cpp b/src/corelib/io/qprocess.cpp index bb16b0c427..4e106691f7 100644 --- a/src/corelib/io/qprocess.cpp +++ b/src/corelib/io/qprocess.cpp @@ -1051,10 +1051,7 @@ bool QProcessPrivate::tryReadFromChannel(Channel *channel) readBuffer.chop(available - readBytes); bool didRead = false; - if (readBytes == 0) { - if (channel->notifier) - channel->notifier->setEnabled(false); - } else if (currentReadChannel == channelIdx) { + if (currentReadChannel == channelIdx) { didRead = true; if (!emittedReadyRead) { emittedReadyRead = true;