CMakeRunConfiguration: Emit baseEnvironmentChanged if the bc changed

If the CMakeRunConfiguration environment is based on the bc environment
then we need to emit this signal on changing the bc or if the
environment of the bc changed.

Change-Id: I005dfa06c92b89f5cf8b901c0f5d929fd8e1bf70
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Daniel Teske
2013-01-09 12:42:59 +01:00
committed by Tobias Hunger
parent 3afa4a199f
commit b2ee2d675f

View File

@@ -103,6 +103,8 @@ CMakeRunConfiguration::~CMakeRunConfiguration()
void CMakeRunConfiguration::ctor()
{
setDefaultDisplayName(defaultDisplayName());
connect(target(), SIGNAL(environmentChanged()),
this, SIGNAL(baseEnvironmentChanged()));
}
QString CMakeRunConfiguration::executable() const