ProjectExplorer: Make BuildStep::immutable use a data member

Default to false, remove all no-op reimplementations.

And rename the getter to isImmutable according to the rules.

Change-Id: I8cce79d88fb59badfa1cffcf30a46f7ff3b09e8b
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2018-10-22 17:56:04 +02:00
parent 8471ce4331
commit 0f5d5dbfe4
29 changed files with 15 additions and 74 deletions

View File

@@ -53,6 +53,7 @@ AndroidPackageInstallationStep::AndroidPackageInstallationStep(BuildStepList *bs
setDefaultDisplayName(name);
setDisplayName(name);
setWidgetExpandedByDefault(false);
setImmutable(true);
}
bool AndroidPackageInstallationStep::init(QList<const BuildStep *> &earlierSteps)
@@ -115,11 +116,6 @@ BuildStepConfigWidget *AndroidPackageInstallationStep::createConfigWidget()
}
bool AndroidPackageInstallationStep::immutable() const
{
return true;
}
//
// AndroidPackageInstallationStepWidget
//