ProjectExplorer: Replace RunConfiguration::doAdditionalSetup

... by an explicit update() call. This is what effectively done in
most cases, and should be harmless and reasonably cheap in most other
cases.

Change-Id: I323112ec7cdbccf19050ac54466d8e1d97a0516e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2019-12-17 10:28:20 +01:00
parent 23b076fcd0
commit b1474dc5ef
14 changed files with 1 additions and 40 deletions

View File

@@ -303,11 +303,6 @@ void IosDeviceTypeAspect::setDeviceType(const IosDeviceType &deviceType)
m_deviceType = deviceType;
}
void IosRunConfiguration::doAdditionalSetup(const RunConfigurationCreationInfo &)
{
update();
}
IosDeviceTypeAspect::IosDeviceTypeAspect(IosRunConfiguration *runConfiguration)
: m_runConfiguration(runConfiguration)
{

View File

@@ -50,8 +50,6 @@ public:
QString disabledReason() const override;
IosDeviceType deviceType() const;
void doAdditionalSetup(const ProjectExplorer::RunConfigurationCreationInfo &) override;
private:
bool isEnabled() const final;