Skip to content

#10988 Fix QItemSelectionModel warning when exiting application#14347

Open
kriben wants to merge 1 commit into
devfrom
10988-fix-selection-model-warning-on-exit
Open

#10988 Fix QItemSelectionModel warning when exiting application#14347
kriben wants to merge 1 commit into
devfrom
10988-fix-selection-model-warning-on-exit

Conversation

@kriben

@kriben kriben commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

The tree view in PdmUiTreeSelectionEditor is deleted using deleteLater(), while the models are children of the editor and are deleted immediately. Detach the view from the models in the destructor, otherwise pending events in the view may operate on a selection model whose model has been destroyed.

The tree view in PdmUiTreeSelectionEditor is deleted using deleteLater(),
while the models are children of the editor and are deleted immediately.
Detach the view from the models in the destructor, otherwise pending events
in the view may operate on a selection model whose model has been destroyed.
@kriben kriben linked an issue Jul 15, 2026 that may be closed by this pull request
@kriben kriben self-assigned this Jul 15, 2026
@kriben
kriben requested a review from magnesj July 15, 2026 07:38
@kriben
kriben marked this pull request as ready for review July 15, 2026 07:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Terminal message when closing Resinsight

1 participant