• Thorbjørn Lindeijer's avatar
    Fixed crash when leaving session with invalid bookmarks or breakpoints · 2b46f828
    Thorbjørn Lindeijer authored
    When the bookmark could not be added to the editor due to being on a
    non-existing line, it would not be cleaned up properly when the editor
    was closed, resulting in a crash when it later tried to remove itself
    from the no longer existing editor.
    
    In addition to fixing the crash, bookmarks that are not on valid lines
    are now automatically removed when you try to navigate to them.
    
    Task-number: QTCREATORBUG-545
    Reviewed-by: mae
    2b46f828
bookmarkmanager.cpp 23 KB