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:
@@ -45,7 +45,6 @@ public:
|
||||
using NameValueDictionary::NameValueDictionary;
|
||||
|
||||
static Environment systemEnvironment();
|
||||
static void setupEnglishOutput(Environment *environment);
|
||||
|
||||
QProcessEnvironment toProcessEnvironment() const;
|
||||
|
||||
@@ -58,6 +57,8 @@ public:
|
||||
void prependOrSetLibrarySearchPath(const QString &value);
|
||||
void prependOrSetLibrarySearchPaths(const QStringList &values);
|
||||
|
||||
void setupEnglishOutput();
|
||||
|
||||
using PathFilter = std::function<bool(const FilePath &)>;
|
||||
FilePath searchInPath(const QString &executable,
|
||||
const FilePaths &additionalDirs = FilePaths(),
|
||||
|
||||
Reference in New Issue
Block a user