forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -52,7 +52,7 @@ static QString runExecutable(const Utils::CommandLine &commandLine,
|
||||
|
||||
SynchronousProcess cpp;
|
||||
Environment env = Environment::systemEnvironment();
|
||||
Environment::setupEnglishOutput(&env);
|
||||
env.setupEnglishOutput();
|
||||
cpp.setEnvironment(env);
|
||||
cpp.setCommand(commandLine);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user