Commit 6567a673 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

Fix possible crash in target

We need to make sure to remove RCs we delete from the lists held in
the updateDefaultRunConfigurations method.

Change-Id: Icf7908af3554e682af6ba9101058cb210e35f999
Reviewed-by: default avatarDaniel Teske <>
parent 9072db09
......@@ -658,8 +658,10 @@ void Target::updateDefaultRunConfigurations()
// Do actual changes:
foreach (RunConfiguration *rc, toRemove)
foreach (RunConfiguration *rc, toRemove) {
existingConfigured.removeOne(rc); // make sure to also remove them from existingConfigured!
if (removeExistingUnconfigured) {
foreach (RunConfiguration *rc, existingUnconfigured)
Supports Markdown
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