forked from qt-creator/qt-creator
ProjectExplorer: Let RunConfiguration not listen to Kit changes
Relevant kit changes are (hopefully) triggering re-parses and build changes, which in turn trigger run config updates. Change-Id: I229699ac92eee615f246dcacea608279044dc1d4 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -95,7 +95,6 @@ QdbRunConfiguration::QdbRunConfiguration(Target *target, Core::Id id)
|
||||
symbolsAspect->setFilePath(localExecutable);
|
||||
});
|
||||
|
||||
connect(target, &Target::kitChanged, this, &RunConfiguration::update);
|
||||
connect(target, &Target::buildSystemUpdated, this, &RunConfiguration::update);
|
||||
|
||||
setDefaultDisplayName(tr("Run on Boot2Qt Device"));
|
||||
|
||||
@@ -80,17 +80,9 @@ DesktopRunConfiguration::DesktopRunConfiguration(Target *target, Core::Id id, Ki
|
||||
|
||||
setUpdater([this] { updateTargetInformation(); });
|
||||
|
||||
if (kind == Qbs) {
|
||||
|
||||
// Handles device changes, etc.
|
||||
connect(target, &Target::kitChanged, this, &RunConfiguration::update);
|
||||
|
||||
} else if (m_kind == CMake) {
|
||||
|
||||
if (m_kind == CMake)
|
||||
libAspect->setVisible(false);
|
||||
|
||||
}
|
||||
|
||||
connect(target, &Target::buildSystemUpdated, this, &RunConfiguration::update);
|
||||
}
|
||||
|
||||
|
||||
@@ -82,7 +82,6 @@ QnxRunConfiguration::QnxRunConfiguration(Target *target, Core::Id id)
|
||||
});
|
||||
|
||||
connect(target, &Target::buildSystemUpdated, this, &RunConfiguration::update);
|
||||
connect(target, &Target::kitChanged, this, &RunConfiguration::update);
|
||||
}
|
||||
|
||||
Runnable QnxRunConfiguration::runnable() const
|
||||
|
||||
Reference in New Issue
Block a user