In the EnvironmentWidget show which environment is the base.

Task-Nr: QTCREATORBUG-277
This commit is contained in:
dt
2009-12-14 13:40:17 +01:00
parent dde46ec1eb
commit a755717649
15 changed files with 87 additions and 4 deletions

View File

@@ -95,6 +95,14 @@ ProjectExplorer::Environment CMakeBuildConfiguration::baseEnvironment() const
return env;
}
QString CMakeBuildConfiguration::baseEnvironmentText() const
{
if (useSystemEnvironment())
return tr("System Environment");
else
return tr("Clear Environment");
}
ProjectExplorer::Environment CMakeBuildConfiguration::environment() const
{
ProjectExplorer::Environment env = baseEnvironment();