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:
@@ -245,11 +245,6 @@ QbsCleanStepConfigWidget::~QbsCleanStepConfigWidget()
|
||||
delete m_ui;
|
||||
}
|
||||
|
||||
QString QbsCleanStepConfigWidget::summaryText() const
|
||||
{
|
||||
return m_summary;
|
||||
}
|
||||
|
||||
void QbsCleanStepConfigWidget::updateState()
|
||||
{
|
||||
m_ui->dryRunCheckBox->setChecked(m_step->dryRun());
|
||||
@@ -259,11 +254,7 @@ void QbsCleanStepConfigWidget::updateState()
|
||||
->equivalentCommandLine(m_step);
|
||||
m_ui->commandLineTextEdit->setPlainText(command);
|
||||
|
||||
QString summary = tr("<b>Qbs:</b> %1").arg(command);
|
||||
if (m_summary != summary) {
|
||||
m_summary = summary;
|
||||
emit updateSummary();
|
||||
}
|
||||
setSummaryText(tr("<b>Qbs:</b> %1").arg(command));
|
||||
}
|
||||
|
||||
void QbsCleanStepConfigWidget::changeDryRun(bool dr)
|
||||
|
||||
Reference in New Issue
Block a user