diff options
author | Chris Adams <christopher.adams@nokia.com> | 2012-05-09 10:21:56 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-09 03:26:54 +0200 |
commit | dfc4e6f93bd2482b6eb79d7088850ceb460a1928 (patch) | |
tree | 52f0b069077a3e683bcd23501a03759af26abfff /src/quick/items/qquickitemview_p_p.h | |
parent | a1994d440b32e14535eed2450db379dc55e869d5 (diff) |
Fix weak reference callback in test case
Previously, the handle reference management weak-reference callback
would cast the data pointer to a class instance ptr, and clear that
instance's handle. This is invalid if the callback gets called
after the instance is deleted.
Change-Id: I3f77bffa1cb05f8b625c69f08d85662cc3b2e5e1
Reviewed-by: Matthew Vogt <matthew.vogt@nokia.com>
Diffstat (limited to 'src/quick/items/qquickitemview_p_p.h')
0 files changed, 0 insertions, 0 deletions