forked from qt-creator/qt-creator
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:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -50,8 +50,6 @@ public:
|
||||
QString disabledReason() const override;
|
||||
IosDeviceType deviceType() const;
|
||||
|
||||
void doAdditionalSetup(const ProjectExplorer::RunConfigurationCreationInfo &) override;
|
||||
|
||||
private:
|
||||
bool isEnabled() const final;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user