Commit be8675ab authored by Glenn Watson's avatar Glenn Watson Committed by Qt by Nokia
Browse files

Change repeater item to handle model being deleted.


The repeater item previously stored a raw QObject pointer in
a variant. When this pointer was a dynamic list model element
that was deleted, the variant would continue to hold a stale
pointer. Change repeater to use a guard object to hold the model
when it is a QObject. Continue to use a variant to hold models
that are not based on QObject to maintain same semantics.

Change-Id: Ie100947132923803263c725e86efa68206382f12
Reviewed-by: default avatarMartin Jones <martin.jones@nokia.com>
parent fc5ddb18
No related merge requests found
Showing with 46 additions and 1 deletion
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