From 74861c8076d7f58d5b06e1be2855666d3d17ddc8 Mon Sep 17 00:00:00 2001 From: Martin Jones Date: Fri, 23 Oct 2009 15:42:12 +1000 Subject: Don't mess with the private data of an item that is being destroyed. --- src/declarative/fx/qfxanchors.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/declarative/fx/qfxanchors.cpp b/src/declarative/fx/qfxanchors.cpp index 085bbc7..737aa63 100644 --- a/src/declarative/fx/qfxanchors.cpp +++ b/src/declarative/fx/qfxanchors.cpp @@ -216,9 +216,6 @@ void QFxAnchorsPrivate::clearItem(QFxItem *item) baseline.item = 0; usedAnchors &= ~QFxAnchors::HasBaselineAnchor; } - QFxItemPrivate *p = - static_cast(QGraphicsItemPrivate::get(item)); - p->dependantAnchors.removeAll(q); } void QFxAnchorsPrivate::addDepend(QFxItem *item) -- cgit v0.12