Autotools: fixed crash when opening any project

Passed ctor param ignored, field set to 0 and than called

Change-Id: I34d8be9b11826d21506d8c1b2732e25f64593798
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
Sergey Shambir
2013-01-08 19:18:39 +04:00
committed by Daniel Teske
parent 18121bf420
commit 06403e94ac

View File

@@ -50,7 +50,7 @@ using namespace AutotoolsProjectManager::Internal;
using namespace ProjectExplorer;
AutotoolsBuildSettingsWidget::AutotoolsBuildSettingsWidget(AutotoolsBuildConfiguration *bc) :
m_buildConfiguration(0)
m_buildConfiguration(bc)
{
QFormLayout *fl = new QFormLayout(this);
fl->setContentsMargins(0, 0, 0, 0);