diff options
author | Przemyslaw Gorszkowski <pgorszkowski@gmail.com> | 2014-01-14 15:13:26 +0100 |
---|---|---|
committer | Przemyslaw Gorszkowski <pgorszkowski@gmail.com> | 2014-01-17 07:24:59 +0100 |
commit | 1e9433e779be54d3c30041f6d3f007cc829043a5 (patch) | |
tree | bebeee437733f9383439889dd62adece352eddd7 /src/plugins/projectexplorer/localenvironmentaspect.cpp | |
parent | e8dbf1e4371eb7b3c8311aabecde02b99418b230 (diff) | |
download | qt-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.cpp | 4 |
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 |