Commit 623fc1e9 authored by Daniel Teske's avatar Daniel Teske
Browse files

QmakeProject: Fix crash



There's no target if the project is in the parsing without configuration
state.

Change-Id: Id21e2ded5b634253267e956accc27715e6562941
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent 81912724
...@@ -650,7 +650,8 @@ void QmakeProject::update() ...@@ -650,7 +650,8 @@ void QmakeProject::update()
m_asyncUpdateState = Base; m_asyncUpdateState = Base;
enableActiveQmakeBuildConfiguration(activeTarget(), true); enableActiveQmakeBuildConfiguration(activeTarget(), true);
updateBuildSystemData(); updateBuildSystemData();
activeTarget()->updateDefaultDeployConfigurations(); if (activeTarget())
activeTarget()->updateDefaultDeployConfigurations();
updateRunConfigurations(); updateRunConfigurations();
emit proFilesEvaluated(); emit proFilesEvaluated();
} }
......
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