summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/abstractprocessstep.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2021-05-20 11:57:21 +0200
committerhjk <hjk@qt.io>2021-05-21 15:07:34 +0000
commit77d7b24326cec920be8afa29b495cfcae52ee1c3 (patch)
tree7c58584c43373f103e9ed4e5b540886986e45564 /src/plugins/projectexplorer/abstractprocessstep.cpp
parent2be80619308c88730addaae4e929b85dfc2952c0 (diff)
downloadqt-creator-77d7b24326cec920be8afa29b495cfcae52ee1c3.tar.gz
Utils: Make Environment::setEnglishOutput a proper member function
The previous indirection was useful as long as they were overloads for QProcessEnvironment and QStringList, but these are gone now. Change-Id: I5066bd2e72fd06948a5cc7bbac6dda9006db96ed Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/abstractprocessstep.cpp')
-rw-r--r--src/plugins/projectexplorer/abstractprocessstep.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/abstractprocessstep.cpp b/src/plugins/projectexplorer/abstractprocessstep.cpp
index fe9b7d1c6e..8156eb02b2 100644
--- a/src/plugins/projectexplorer/abstractprocessstep.cpp
+++ b/src/plugins/projectexplorer/abstractprocessstep.cpp
@@ -153,7 +153,7 @@ void AbstractProcessStep::setEnvironmentModifier(const std::function<void (Envir
void AbstractProcessStep::setUseEnglishOutput()
{
- d->m_environmentModifier = [](Environment &env) { Environment::setupEnglishOutput(&env); };
+ d->m_environmentModifier = [](Environment &env) { env.setupEnglishOutput(); };
}
void AbstractProcessStep::setCommandLineProvider(const std::function<CommandLine()> &provider)