diff options
author | Christian Stenger <christian.stenger@qt.io> | 2022-04-25 07:26:59 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2022-04-25 07:05:49 +0000 |
commit | a6a928cb78e809ed28949a05a1576af0d24dfd6a (patch) | |
tree | ed4d8616bafc0a3ca36e2f564454a93472a9738b /plugins | |
parent | 466dcae43f8d958b66b39c07ca47801cb25e4e60 (diff) |
Adapt to upstream change
Change-Id: Ie67fbd15e9ea5196ecacf17afaadba3a5a488c3f
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/haskell/haskellrunconfiguration.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/haskell/haskellrunconfiguration.cpp b/plugins/haskell/haskellrunconfiguration.cpp index 6075913..60c198c 100644 --- a/plugins/haskell/haskellrunconfiguration.cpp +++ b/plugins/haskell/haskellrunconfiguration.cpp @@ -56,12 +56,12 @@ HaskellExecutableAspect::HaskellExecutableAspect() HaskellRunConfiguration::HaskellRunConfiguration(Target *target, Utils::Id id) : RunConfiguration(target, id) { - addAspect<LocalEnvironmentAspect>(target); + auto envAspect = addAspect<LocalEnvironmentAspect>(target); addAspect<HaskellExecutableAspect>(); addAspect<ArgumentsAspect>(); - auto workingDirAspect = addAspect<WorkingDirectoryAspect>(); + auto workingDirAspect = addAspect<WorkingDirectoryAspect>(envAspect); workingDirAspect->setDefaultWorkingDirectory(target->project()->projectDirectory()); workingDirAspect->setVisible(false); |