forked from qt-creator/qt-creator
Replace QTC_ASSERT with normal check
Optionspages are called even if they weren't shown.
This commit is contained in:
@@ -532,8 +532,8 @@ QWidget *ToolChainOptionsPage::createPage(QWidget *parent)
|
||||
|
||||
void ToolChainOptionsPage::apply()
|
||||
{
|
||||
QTC_ASSERT(m_model, return; )
|
||||
m_model->apply();
|
||||
if (m_model)
|
||||
m_model->apply();
|
||||
}
|
||||
|
||||
void ToolChainOptionsPage::finish()
|
||||
|
Reference in New Issue
Block a user