Commit 05ceaa45 authored by Daniel Teske's avatar Daniel Teske

Support returning 0 from RunConfiguration::createConfigurationWidget

The android plugin does so.

Change-Id: If5e5216bbcb6ba3dcd4186ae4c558efe4d56dcb8
Reviewed-on: http://codereview.qt-project.org/4882Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
parent 1a0fb751
......@@ -386,7 +386,8 @@ void RunSettingsWidget::setConfigurationWidget(RunConfiguration *rc)
if (!rc)
return;
m_runConfigurationWidget = rc->createConfigurationWidget();
m_runLayout->addWidget(m_runConfigurationWidget);
if (m_runConfigurationWidget)
m_runLayout->addWidget(m_runConfigurationWidget);
addRunControlWidgets();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment