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:
@@ -130,11 +130,10 @@ Environment Environment::systemEnvironment()
|
||||
return *staticSystemEnvironment();
|
||||
}
|
||||
|
||||
void Environment::setupEnglishOutput(Environment *environment)
|
||||
void Environment::setupEnglishOutput()
|
||||
{
|
||||
QTC_ASSERT(environment, return);
|
||||
environment->set("LC_MESSAGES", "en_US.utf8");
|
||||
environment->set("LANGUAGE", "en_US:en");
|
||||
set("LC_MESSAGES", "en_US.utf8");
|
||||
set("LANGUAGE", "en_US:en");
|
||||
}
|
||||
|
||||
FilePath Environment::searchInDirectory(const QStringList &execs, const FilePath &directory,
|
||||
|
||||
Reference in New Issue
Block a user