• Andrew den Exter's avatar
    Don't parent (QObject) delegate items to views. · d4dad3a0
    Andrew den Exter authored
    
    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>
    d4dad3a0