Skip to content
  • Daniel Teske's avatar
    Fix crash on closing Creator · 0aee8158
    Daniel Teske authored
    
    
    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: default avatarNikolai Kosjar <nikolai.kosjar@theqtcompany.com>
    Reviewed-by: default avatarDaniel Teske <daniel.teske@theqtcompany.com>
    0aee8158