Replace QTC_ASSERT with normal check

Optionspages are called even if they weren't shown.
This commit is contained in:
dt
2011-02-23 16:02:14 +01:00
parent f33fc2112c
commit 63fb8ffc9a

View File

@@ -532,7 +532,7 @@ QWidget *ToolChainOptionsPage::createPage(QWidget *parent)
void ToolChainOptionsPage::apply() void ToolChainOptionsPage::apply()
{ {
QTC_ASSERT(m_model, return; ) if (m_model)
m_model->apply(); m_model->apply();
} }