diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2017-08-30 16:21:33 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2017-08-30 14:48:49 +0000 |
commit | a3db6f78d1b0a038bce9c9ccf6fd186257cb0c50 (patch) | |
tree | 35b569122707b088e48973b72e2f0ef7c32db644 /src/lib/corelib/api | |
parent | efed63dc0117c6397d832c0d233af0dbb9b6adc0 (diff) |
Remove currently unused information
We were storing every call to getEnv and did not use that information.
We can resurrect this code when a complete environment variable change
tracking feature is implemented.
Change-Id: I2e9b93d62f39cde0dce53181b5f71432c41f630e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/lib/corelib/api')
-rw-r--r-- | src/lib/corelib/api/project.cpp | 7 | ||||
-rw-r--r-- | src/lib/corelib/api/project.h | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/lib/corelib/api/project.cpp b/src/lib/corelib/api/project.cpp index 9041b4e7a..19b2072f9 100644 --- a/src/lib/corelib/api/project.cpp +++ b/src/lib/corelib/api/project.cpp @@ -1097,13 +1097,6 @@ QVariantMap Project::projectConfiguration() const return d->internalProject->buildConfiguration(); } -QHash<QString, QString> Project::usedEnvironment() const -{ - typedef QHash<QString, QString> EnvType; - QBS_ASSERT(isValid(), return EnvType()); - return d->internalProject->usedEnvironment; -} - std::set<QString> Project::buildSystemFiles() const { QBS_ASSERT(isValid(), return std::set<QString>()); diff --git a/src/lib/corelib/api/project.h b/src/lib/corelib/api/project.h index 034db2625..1b80d59cf 100644 --- a/src/lib/corelib/api/project.h +++ b/src/lib/corelib/api/project.h @@ -130,7 +130,6 @@ public: bool recursive, const QStringList &tags = QStringList()) const; QVariantMap projectConfiguration() const; - QHash<QString, QString> usedEnvironment() const; std::set<QString> buildSystemFiles() const; |