ProjectExplorer: Merge SimpleBuildStepWidget into BuildStepWidget

The extra m_step member is not worth the abstraction, especially
since almost all non-SimpleBuildStepWidget have something similar,
too. Also, as several derived classes needed to correct
SimpleBuildStepWidget's setShowWidget(false).

Change-Id: I6e80d8c84c363b90dc27c70abd7fa6cefa1ed91e
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2018-09-20 11:19:41 +02:00
parent 51562b55e4
commit cbb98bedcf
29 changed files with 59 additions and 76 deletions

View File

@@ -126,9 +126,8 @@ bool AndroidPackageInstallationStep::immutable() const
namespace Internal {
AndroidPackageInstallationStepWidget::AndroidPackageInstallationStepWidget(AndroidPackageInstallationStep *step)
: m_step(step)
: BuildStepConfigWidget(step, false)
{
setShowWidget(false);
}
QString AndroidPackageInstallationStepWidget::summaryText() const