ProjectExplorer: Use the new way for dependent aspects

... for WorkingDirectory aspects.

Change-Id: Idf64f1daeb74a70637bb983db1b45f0132cfc299
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2019-05-24 15:16:50 +02:00
parent d25c7ea137
commit 774d2063d0
8 changed files with 17 additions and 14 deletions

View File

@@ -45,11 +45,10 @@ namespace Nim {
NimRunConfiguration::NimRunConfiguration(Target *target, Core::Id id)
: RunConfiguration(target, id)
{
auto envAspect = addAspect<LocalEnvironmentAspect>(target);
addAspect<LocalEnvironmentAspect>(target);
addAspect<ExecutableAspect>();
addAspect<ArgumentsAspect>();
addAspect<WorkingDirectoryAspect>(envAspect);
addAspect<WorkingDirectoryAspect>();
addAspect<TerminalAspect>();
setDisplayName(tr("Current Build Target"));