Commit 81912724 authored by Daniel Teske's avatar Daniel Teske Committed by Tobias Hunger
Browse files

TargetsetupPage: Fix crash

The case looks like this:
Two kits on the targetsetuppage.
- Already existing kit, selected
- Temporary kit not selected

Switch reset() and setupProject() to the order they had before
the TargetSetupPage generalization.

Task-number: QTCREATORBUG-10417

Change-Id: I51cfb1e01193c57e06aebeaa8defa11809e24c50
Reviewed-by: default avatarMitch Curtis <>
Reviewed-by: default avatarTobias Hunger <>
parent 3164faa4
......@@ -520,9 +520,9 @@ bool TargetSetupPage::setupProject(Project *project)
reset(); // This will delete the pointers held in toSetUp!
Target *activeTarget = 0;
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