diff --git a/src/plugins/beautifier/configurationeditor.cpp b/src/plugins/beautifier/configurationeditor.cpp index 39f24e33b95..046c45fd7bc 100644 --- a/src/plugins/beautifier/configurationeditor.cpp +++ b/src/plugins/beautifier/configurationeditor.cpp @@ -118,7 +118,7 @@ ConfigurationEditor::ConfigurationEditor(QWidget *parent) void ConfigurationEditor::setSettings(AbstractSettings *settings) { - QTC_CHECK(settings); + QTC_ASSERT(settings, return); m_settings = settings; QStringList keywords = m_settings->options();