Commit 68313155 authored by hjk's avatar hjk

ProjectExplorer: Add a comment regarding the use of EnvironmentAspect

Also, make EnvironmentAspect::environment() non-virtual, it should
always be equal to base + user changes.

Change-Id: I0259894d5ac3121a840631e37baebdcfa86b198b
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
parent a1ac19c9
......@@ -53,8 +53,10 @@ public:
QList<Utils::EnvironmentItem> userEnvironmentChanges() const { return m_changes; }
void setUserEnvironmentChanges(const QList<Utils::EnvironmentItem> &diff);
// The environment the user chose as base for his modifications.
virtual Utils::Environment baseEnvironment() const = 0;
virtual Utils::Environment environment() const;
// The environment including the user's modifications.
Utils::Environment environment() const;
signals:
void baseEnvironmentChanged();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment