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

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()
m_asyncUpdateState = Base;
enableActiveQmakeBuildConfiguration(activeTarget(), true);
updateBuildSystemData();
activeTarget()->updateDefaultDeployConfigurations();
if (activeTarget())
activeTarget()->updateDefaultDeployConfigurations();
updateRunConfigurations();
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