Commit 568985ab authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

Revert "BuildstepConfigWidgets can be set expanded by default"

This reverts commit deae00a1 for master.
parent 5fd1341b
...@@ -167,7 +167,6 @@ public: ...@@ -167,7 +167,6 @@ public:
virtual void init() = 0; virtual void init() = 0;
virtual QString summaryText() const = 0; virtual QString summaryText() const = 0;
virtual QString displayName() const = 0; virtual QString displayName() const = 0;
virtual bool showExpanded() const { return false; }
signals: signals:
void updateSummary(); void updateSummary();
}; };
......
...@@ -159,8 +159,6 @@ void BuildStepListWidget::addBuildStepWidget(int pos, BuildStep *step) ...@@ -159,8 +159,6 @@ void BuildStepListWidget::addBuildStepWidget(int pos, BuildStep *step)
s.detailsWidget = new Utils::DetailsWidget(this); s.detailsWidget = new Utils::DetailsWidget(this);
s.detailsWidget->setSummaryText(s.widget->summaryText()); s.detailsWidget->setSummaryText(s.widget->summaryText());
s.detailsWidget->setWidget(s.widget); s.detailsWidget->setWidget(s.widget);
if(s.widget->showExpanded())
s.detailsWidget->setState(Utils::DetailsWidget::Expanded);
// layout // layout
Utils::FadingPanel *toolWidget = new Utils::FadingPanel(s.detailsWidget); Utils::FadingPanel *toolWidget = new Utils::FadingPanel(s.detailsWidget);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment