diff options
author | Daniel Teske <daniel.teske@theqtcompany.com> | 2015-07-29 16:22:11 +0200 |
---|---|---|
committer | Daniel Teske <daniel.teske@theqtcompany.com> | 2015-07-29 14:39:54 +0000 |
commit | 0aee8158c21985435189a96cc14bab74f11ed948 (patch) | |
tree | 9b708a6f1a83de2e7ce8121717b26bc36db3ecff /share | |
parent | fb64ca4e87a921fff2309a5522feea480573866e (diff) | |
download | qt-creator-0aee8158c21985435189a96cc14bab74f11ed948.tar.gz |
Fix crash on closing Creator
Removing a target setup widget might lead to removing a kit,
due to some kits being temporary for importers.
A kit removal then would lead to a target removal and this would
make the code recurse into the widget cache.
Fix that by ensuring that we disconnect from the project first in
ProjectWindow::deregisterProject. And also remove the clearing of
the project window, instead simply clear the widget cache as each
project is closed.
Change-Id: I278c43ef4ba77217428c5c36f0a07d0d96cb3022
Task-number: QTCREATORBUG-14694
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions