forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/4.7' into 4.8
Change-Id: Iaae859601ae4f529c1fa7ada3a5c569820abb0d6
This commit is contained in:
@@ -244,13 +244,19 @@ void SshDeviceProcess::handleProcessFinished(int exitStatus)
|
||||
|
||||
void SshDeviceProcess::handleStdout()
|
||||
{
|
||||
d->stdOut += d->process->readAllStandardOutput();
|
||||
QByteArray output = d->process->readAllStandardOutput();
|
||||
if (output.isEmpty())
|
||||
return;
|
||||
d->stdOut += output;
|
||||
emit readyReadStandardOutput();
|
||||
}
|
||||
|
||||
void SshDeviceProcess::handleStderr()
|
||||
{
|
||||
d->stdErr += d->process->readAllStandardError();
|
||||
QByteArray output = d->process->readAllStandardError();
|
||||
if (output.isEmpty())
|
||||
return;
|
||||
d->stdErr += output;
|
||||
emit readyReadStandardError();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user