forked from qt-creator/qt-creator
ProjectExplorer: Remove enabledChanged emissions
... from *RunConfiguration::setUpdater implementations. The RunConfiguration::update() emits it unconditionally nowadays. Change-Id: I0a67b760ea611026bd2357f59090166be8e0d6b3 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -53,7 +53,6 @@ BareMetalRunConfiguration::BareMetalRunConfiguration(Target *target, Core::Id id
|
||||
setUpdater([this, exeAspect] {
|
||||
const BuildTargetInfo bti = buildTargetInfo();
|
||||
exeAspect->setExecutable(bti.targetFilePath);
|
||||
emit enabledChanged();
|
||||
});
|
||||
|
||||
connect(target, &Target::buildSystemUpdated, this, &RunConfiguration::update);
|
||||
|
||||
@@ -124,8 +124,6 @@ void DesktopRunConfiguration::updateTargetInformation()
|
||||
aspect<WorkingDirectoryAspect>()->setDefaultWorkingDirectory(defaultWorkingDir);
|
||||
}
|
||||
|
||||
emit enabledChanged();
|
||||
|
||||
} else if (m_kind == CMake) {
|
||||
|
||||
aspect<ExecutableAspect>()->setExecutable(bti.targetFilePath);
|
||||
|
||||
@@ -76,7 +76,6 @@ QnxRunConfiguration::QnxRunConfiguration(Target *target, Core::Id id)
|
||||
.deployableForLocalFile(localExecutable);
|
||||
exeAspect->setExecutable(FilePath::fromString(depFile.remoteFilePath()));
|
||||
symbolsAspect->setFilePath(localExecutable);
|
||||
emit enabledChanged();
|
||||
});
|
||||
|
||||
connect(target, &Target::buildSystemUpdated, this, &RunConfiguration::update);
|
||||
|
||||
@@ -76,8 +76,6 @@ RemoteLinuxRunConfiguration::RemoteLinuxRunConfiguration(Target *target, Core::I
|
||||
|
||||
exeAspect->setExecutable(FilePath::fromString(depFile.remoteFilePath()));
|
||||
symbolsAspect->setFilePath(localExecutable);
|
||||
|
||||
emit enabledChanged();
|
||||
});
|
||||
|
||||
connect(target, &Target::buildSystemUpdated, this, &RunConfiguration::update);
|
||||
|
||||
Reference in New Issue
Block a user