Skip to content
Snippets Groups Projects
  • Kai Koehne's avatar
    db2fcdb4
    QmlDesigner: Fix crash on exit · db2fcdb4
    Kai Koehne authored
    QtCreator crashed on exit when the library/navigator/sidebar wasn't
    visible in the Design mode. This is caused by a double deletion: The
    widgets have the DesignModeWidget as the default parent + the side bar
    items try to delete them on exit.
    
    Fixed by removing default parent.
    
    Task-number: QTCREATORBUG-1197
    Reviewed-by: Christiaan Janssen
    db2fcdb4
    History
    QmlDesigner: Fix crash on exit
    Kai Koehne authored
    QtCreator crashed on exit when the library/navigator/sidebar wasn't
    visible in the Design mode. This is caused by a double deletion: The
    widgets have the DesignModeWidget as the default parent + the side bar
    items try to delete them on exit.
    
    Fixed by removing default parent.
    
    Task-number: QTCREATORBUG-1197
    Reviewed-by: Christiaan Janssen