summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/winguiprocess.cpp
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@nokia.com>2010-04-19 14:21:33 +0200
committerErik Verbruggen <erik.verbruggen@nokia.com>2010-04-19 14:21:48 +0200
commite3bceff3ee46af6e11cd15e635cabe4eb01f1a1d (patch)
tree4877fa3c050700e86b7545ed0b9035986c8d0357 /src/plugins/projectexplorer/winguiprocess.cpp
parent53425816af45809b4a23216ed49fc1e022206a52 (diff)
downloadqt-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.cpp6
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: