forked from qt-creator/qt-creator
ProjectExplorer: Change BuildStepConfigWidget::summaryWidget()
From a virtual function to a normal one backed by a real data member. That's essentially what several re-implementations did, the other ones used a fixed value instead. Change-Id: I61e45f1d4f7f0f80fe2eb1f2729785f37e7bb803 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -176,11 +176,6 @@ AutogenStepConfigWidget::AutogenStepConfigWidget(AutogenStep *autogenStep) :
|
||||
this, &AutogenStepConfigWidget::updateDetails);
|
||||
}
|
||||
|
||||
QString AutogenStepConfigWidget::summaryText() const
|
||||
{
|
||||
return m_summaryText;
|
||||
}
|
||||
|
||||
void AutogenStepConfigWidget::updateDetails()
|
||||
{
|
||||
BuildConfiguration *bc = m_autogenStep->buildConfiguration();
|
||||
@@ -192,6 +187,6 @@ void AutogenStepConfigWidget::updateDetails()
|
||||
param.setWorkingDirectory(projectDir);
|
||||
param.setCommand("./autogen.sh");
|
||||
param.setArguments(m_autogenStep->additionalArguments());
|
||||
m_summaryText = param.summary(displayName());
|
||||
emit updateSummary();
|
||||
|
||||
setSummaryText(param.summary(displayName()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user