Adapt to rename extraAspect -> aspect

Change-Id: Idc86ea94321bd7d22c9c90de880385d630ef179d
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Eike Ziller
2018-10-04 13:24:03 +02:00
parent f8ffe14b82
commit 2128953cfb

View File

@@ -1572,7 +1572,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
Utils::EnvironmentProvider::addProvider(
{"CurrentRun:Env", tr("Current Run Environment"), []() {
if (RunConfiguration *rc = activeRunConfiguration())
if (auto envAspect = rc->extraAspect<EnvironmentAspect>())
if (auto envAspect = rc->aspect<EnvironmentAspect>())
return envAspect->environment();
return Utils::Environment::systemEnvironment();
}});