Commit d4dad3a0 authored by Andrew den Exter's avatar Andrew den Exter Committed by Qt by Nokia
Browse files

Don't parent (QObject) delegate items to views.


This keeps object ownership within the context the items were created
in and simplifies lifetime management as the VisualDataModel has sole
license to delete objects and doesn't have to keep guards against a
view and all it's children being deleted.

Delegates are still reparented in the item heirarchy.

Change-Id: Ife5afdfe294a5a8ca1ca3638a086f72452e4915c
Reviewed-by: default avatarMartin Jones <martin.jones@nokia.com>
parent 45931aac
No related merge requests found
Showing with 31 additions and 68 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment