From 0f4aa335964e40eab9ead38eb783d1c5cfdc4b6f Mon Sep 17 00:00:00 2001 From: hjk <qtc-committer@nokia.com> Date: Thu, 2 Apr 2009 11:01:09 +0200 Subject: [PATCH] projectexplorer: use QString::fromLocal8Bit instead fromAscii Patch from Asaki Takumi. Reviewed-by: Oswald Buddenhagen --- src/plugins/projectexplorer/winguiprocess.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/projectexplorer/winguiprocess.cpp b/src/plugins/projectexplorer/winguiprocess.cpp index 75efc7cb736..50859781753 100644 --- a/src/plugins/projectexplorer/winguiprocess.cpp +++ b/src/plugins/projectexplorer/winguiprocess.cpp @@ -147,7 +147,7 @@ void WinGuiProcess::run() switch (ret) { case WAIT_OBJECT_0 + 0: if (*processId == m_pid->dwProcessId) - emit receivedDebugOutput(QString::fromAscii(message)); + emit receivedDebugOutput(QString::fromLocal8Bit(message)); SetEvent(bufferReadyEvent); break; case WAIT_OBJECT_0 + 1: -- GitLab