summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/localenvironmentaspect.cpp
diff options
context:
space:
mode:
authorPrzemyslaw Gorszkowski <pgorszkowski@gmail.com>2014-01-14 15:13:26 +0100
committerPrzemyslaw Gorszkowski <pgorszkowski@gmail.com>2014-01-17 07:24:59 +0100
commit1e9433e779be54d3c30041f6d3f007cc829043a5 (patch)
treebebeee437733f9383439889dd62adece352eddd7 /src/plugins/projectexplorer/localenvironmentaspect.cpp
parente8dbf1e4371eb7b3c8311aabecde02b99418b230 (diff)
downloadqt-creator-1e9433e779be54d3c30041f6d3f007cc829043a5.tar.gz
RunConfiguration: added possibility to clone "Run" configuration
Active "Run" configuration can be clone together with arguments and "Run Environment" Change-Id: Iec1a4b0b0702957c30580098e916fe8e665f236e Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/projectexplorer/localenvironmentaspect.cpp')
-rw-r--r--src/plugins/projectexplorer/localenvironmentaspect.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/localenvironmentaspect.cpp b/src/plugins/projectexplorer/localenvironmentaspect.cpp
index 7de671ec6f..24e3b4f372 100644
--- a/src/plugins/projectexplorer/localenvironmentaspect.cpp
+++ b/src/plugins/projectexplorer/localenvironmentaspect.cpp
@@ -97,7 +97,9 @@ LocalEnvironmentAspect::LocalEnvironmentAspect(RunConfiguration *parent) :
LocalEnvironmentAspect *LocalEnvironmentAspect::create(RunConfiguration *parent) const
{
- return new LocalEnvironmentAspect(parent);
+ LocalEnvironmentAspect *result = new LocalEnvironmentAspect(parent);
+ result->setUserEnvironmentChanges(userEnvironmentChanges());
+ return result;
}
} // namespace ProjectExplorer