Fix crash when changing a kit in project settings

Change-Id: Ib584cb5d6d1d3802f3a21b741b560ace78722b9a
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Orgad Shaneh
2013-08-24 23:39:47 +03:00
committed by hjk
parent 42cec4552b
commit f5db35128b

View File

@@ -182,6 +182,7 @@ void IRunConfigurationAspect::toMap(QVariantMap &map) const
IRunConfigurationAspect *IRunConfigurationAspect::clone(RunConfiguration *parent) const
{
IRunConfigurationAspect *other = create(parent);
if (m_projectSettings)
other->m_projectSettings = m_projectSettings->clone();
other->m_globalSettings = m_globalSettings;
other->m_useGlobalSettings = m_useGlobalSettings;