Commit ac01fd03 authored by Petar Perisin's avatar Petar Perisin
Browse files

Fix crash when opening generic project



target t is deleted inside removeTarget(t)

Change-Id: I9d5a07d65a2cb0c47869edf3997a44a526b9930e
Reviewed-by: Orgad Shaneh's avatarOrgad Shaneh <orgads@gmail.com>
parent 243a6259
......@@ -431,7 +431,6 @@ bool GenericProject::fromMap(const QVariantMap &map)
foreach (Target *t, targetList) {
if (!t->activeBuildConfiguration()) {
removeTarget(t);
delete t;
continue;
}
if (!t->activeRunConfiguration())
......
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