diff options
author | Erik Verbruggen <erik.verbruggen@nokia.com> | 2010-04-19 14:21:33 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@nokia.com> | 2010-04-19 14:21:48 +0200 |
commit | e3bceff3ee46af6e11cd15e635cabe4eb01f1a1d (patch) | |
tree | 4877fa3c050700e86b7545ed0b9035986c8d0357 /src/plugins/projectexplorer/winguiprocess.cpp | |
parent | 53425816af45809b4a23216ed49fc1e022206a52 (diff) | |
download | qt-creator-e3bceff3ee46af6e11cd15e635cabe4eb01f1a1d.tar.gz |
Separated child-process stdout/stderr, and seperated "our" output/errors.
So now the "Applciation Output" can distinguish between these four, and
handle them appropriately.
Diffstat (limited to 'src/plugins/projectexplorer/winguiprocess.cpp')
-rw-r--r-- | src/plugins/projectexplorer/winguiprocess.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/projectexplorer/winguiprocess.cpp b/src/plugins/projectexplorer/winguiprocess.cpp index aaf3ce861d..3317ce317b 100644 --- a/src/plugins/projectexplorer/winguiprocess.cpp +++ b/src/plugins/projectexplorer/winguiprocess.cpp @@ -122,12 +122,12 @@ void WinGuiProcess::run() &si, m_pid); if (!started) { - emit processError(tr("The process could not be started!")); + emit processMessage(tr("The process could not be started!"), true); break; } if (!dbgInterface) { - emit receivedDebugOutput(tr("Cannot retrieve debugging output!")); + emit receivedDebugOutput(tr("Cannot retrieve debugging output!"), true); WaitForSingleObject(m_pid->hProcess, INFINITE); } else { LPSTR message; @@ -148,7 +148,7 @@ void WinGuiProcess::run() switch (ret) { case WAIT_OBJECT_0 + 0: if (*processId == m_pid->dwProcessId) - emit receivedDebugOutput(QString::fromLocal8Bit(message)); + emit receivedDebugOutput(QString::fromLocal8Bit(message), false); SetEvent(bufferReadyEvent); break; case WAIT_OBJECT_0 + 1: |