forked from qt-creator/qt-creator
QMakeStep: fix linkDebuggingHelper
Just showing the widget was setting the linkDebuggingHelper setting. Change-Id: I0188d713394e35c3519d9bbd822cb970363a68eb Reviewed-on: http://codereview.qt.nokia.com/215 Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
@@ -470,6 +470,16 @@ QMakeStepConfigWidget::QMakeStepConfigWidget(QMakeStep *step)
|
||||
m_ignoreChange(false)
|
||||
{
|
||||
m_ui->setupUi(this);
|
||||
|
||||
m_ui->qmakeAdditonalArgumentsLineEdit->setText(m_step->userArguments());
|
||||
m_ui->qmlDebuggingLibraryCheckBox->setChecked(m_step->linkQmlDebuggingLibrary());
|
||||
|
||||
qmakeBuildConfigChanged();
|
||||
|
||||
updateSummaryLabel();
|
||||
updateEffectiveQMakeCall();
|
||||
updateQmlDebuggingOption();
|
||||
|
||||
connect(m_ui->qmakeAdditonalArgumentsLineEdit, SIGNAL(textEdited(const QString&)),
|
||||
this, SLOT(qmakeArgumentsLineEdited()));
|
||||
connect(m_ui->buildConfigurationComboBox, SIGNAL(currentIndexChanged(int)),
|
||||
@@ -499,14 +509,7 @@ QMakeStepConfigWidget::~QMakeStepConfigWidget()
|
||||
|
||||
void QMakeStepConfigWidget::init()
|
||||
{
|
||||
m_ui->qmakeAdditonalArgumentsLineEdit->setText(m_step->userArguments());
|
||||
m_ui->qmlDebuggingLibraryCheckBox->setChecked(m_step->linkQmlDebuggingLibrary());
|
||||
|
||||
qmakeBuildConfigChanged();
|
||||
|
||||
updateSummaryLabel();
|
||||
updateEffectiveQMakeCall();
|
||||
updateQmlDebuggingOption();
|
||||
}
|
||||
|
||||
QString QMakeStepConfigWidget::summaryText() const
|
||||
|
Reference in New Issue
Block a user