forked from qt-creator/qt-creator
ProjectExplorer: Use BuildStep member to decide on initial expansion
Previously, the build step implementation had the same power as it decided on the widget to use, and the widget had such a member. Change-Id: Id9c783e29610b68cfbbe2c9aa91da831d41c3286 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -52,6 +52,7 @@ AndroidPackageInstallationStep::AndroidPackageInstallationStep(BuildStepList *bs
|
||||
const QString name = tr("Copy application data");
|
||||
setDefaultDisplayName(name);
|
||||
setDisplayName(name);
|
||||
setWidgetExpandedByDefault(false);
|
||||
}
|
||||
|
||||
bool AndroidPackageInstallationStep::init(QList<const BuildStep *> &earlierSteps)
|
||||
@@ -126,7 +127,7 @@ bool AndroidPackageInstallationStep::immutable() const
|
||||
namespace Internal {
|
||||
|
||||
AndroidPackageInstallationStepWidget::AndroidPackageInstallationStepWidget(AndroidPackageInstallationStep *step)
|
||||
: BuildStepConfigWidget(step, false)
|
||||
: BuildStepConfigWidget(step)
|
||||
{
|
||||
setDisplayName(tr("Make install"));
|
||||
setSummaryText("<b>" + tr("Make install") + "</b>");
|
||||
|
Reference in New Issue
Block a user