forked from qt-creator/qt-creator
ProjectExplorer: Introduce some BuildStep convenience accessors
... and use in ProcessStep and related classes. Change-Id: Ie6f1403d0aa2b9f5bcde06e994809466700b1357 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -349,10 +349,7 @@ void AbstractProcessStep::processReadyReadStdOutput()
|
||||
if (!d->m_process)
|
||||
return;
|
||||
d->m_process->setReadChannel(QProcess::StandardOutput);
|
||||
BuildConfiguration *bc = buildConfiguration();
|
||||
if (!bc)
|
||||
bc = target()->activeBuildConfiguration();
|
||||
const bool utf8Output = bc && bc->environment().hasKey("VSLANG");
|
||||
const bool utf8Output = buildEnvironment().hasKey("VSLANG");
|
||||
d->readData(&AbstractProcessStep::stdOutput, utf8Output);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user