Commit 9ed467e5 authored by Christian Stenger's avatar Christian Stenger Committed by hjk

QmlProjectManager: Fix connects

Issue was introduced with 063251eb.

Change-Id: Id867e2a50f43f6d4e90a9ad3ba618295db96fd35
Reviewed-by: default avatarhjk <hjk@theqtcompany.com>
parent f916c726
......@@ -400,9 +400,10 @@ bool QmlProject::fromMap(const QVariantMap &map)
foreach (Target *t, targets())
addedTarget(t);
connect(this, &QmlProject::addedTarget, this, &QmlProject::addedTarget);
connect(this, &ProjectExplorer::Project::addedTarget, this, &QmlProject::addedTarget);
connect(this, &QmlProject::activeTargetChanged, this, &QmlProject::onActiveTargetChanged);
connect(this, &ProjectExplorer::Project::activeTargetChanged,
this, &QmlProject::onActiveTargetChanged);
onActiveTargetChanged(activeTarget());
......
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