Commit 24bf4c37 authored by dt's avatar dt
Browse files

Fix endless recursion.

parent d93834f6
......@@ -185,7 +185,7 @@ void MakeStepConfigWidget::updateMakeOverrideLabel()
m_ui.makeLabel->setText(tr("Override %1:").arg(static_cast<Qt4Project *>(m_makeStep->project())->makeCommand(m_buildConfiguration)));
}
void MakeStepConfigWidget::updateSummary()
void MakeStepConfigWidget::updateDetails()
{
// TODO reduce heavy code duplication
QString workingDirectory;
......@@ -261,14 +261,14 @@ void MakeStepConfigWidget::init(const QString &buildConfiguration)
const QStringList &makeArguments =
m_makeStep->value(buildConfiguration, "makeargs").toStringList();
m_ui.makeArgumentsLineEdit->setText(ProjectExplorer::Environment::joinArgumentList(makeArguments));
updateSummary();
updateDetails();
}
void MakeStepConfigWidget::makeLineEditTextEdited()
{
Q_ASSERT(!m_buildConfiguration.isNull());
m_makeStep->setValue(m_buildConfiguration, "makeCmd", m_ui.makeLineEdit->text());
updateSummary();
updateDetails();
}
void MakeStepConfigWidget::makeArgumentsLineEditTextEdited()
......@@ -276,7 +276,7 @@ void MakeStepConfigWidget::makeArgumentsLineEditTextEdited()
Q_ASSERT(!m_buildConfiguration.isNull());
m_makeStep->setValue(m_buildConfiguration, "makeargs",
ProjectExplorer::Environment::parseCombinedArgString(m_ui.makeArgumentsLineEdit->text()));
updateSummary();
updateDetails();
}
///
......
......@@ -92,7 +92,7 @@ private slots:
void makeArgumentsLineEditTextEdited();
void update();
void updateMakeOverrideLabel();
void updateSummary();
void updateDetails();
private:
QString m_buildConfiguration;
Ui::MakeStep m_ui;
......
Markdown is supported
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