forked from qt-creator/qt-creator
Stop QTC_ASSERT from being triggered
Set up UI elements before they are used. No crash since the elements are guarded by QTC_ASSERTs, but annoying output.
This commit is contained in:
@@ -572,14 +572,14 @@ Internal::GccToolChainConfigWidget::GccToolChainConfigWidget(GccToolChain *tc) :
|
|||||||
connect(m_compilerPath, SIGNAL(changed(QString)), this, SLOT(handlePathChange()));
|
connect(m_compilerPath, SIGNAL(changed(QString)), this, SLOT(handlePathChange()));
|
||||||
layout->addRow(tr("&Compiler path:"), m_compilerPath);
|
layout->addRow(tr("&Compiler path:"), m_compilerPath);
|
||||||
|
|
||||||
|
addDebuggerCommandControls(layout, gnuVersionArgs);
|
||||||
|
addErrorLabel(layout);
|
||||||
|
|
||||||
populateAbiList(tc->supportedAbis());
|
populateAbiList(tc->supportedAbis());
|
||||||
layout->addRow(tr("&ABI:"), m_abiComboBox);
|
layout->addRow(tr("&ABI:"), m_abiComboBox);
|
||||||
|
|
||||||
connect(m_abiComboBox, SIGNAL(currentIndexChanged(int)), this, SLOT(handleAbiChange()));
|
connect(m_abiComboBox, SIGNAL(currentIndexChanged(int)), this, SLOT(handleAbiChange()));
|
||||||
|
|
||||||
addDebuggerCommandControls(layout, gnuVersionArgs);
|
|
||||||
addErrorLabel(layout);
|
|
||||||
|
|
||||||
setFromToolchain();
|
setFromToolchain();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user