summaryrefslogtreecommitdiffstats
path: root/src/declarative/fx
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2009-10-23 05:42:12 (GMT)
committerMartin Jones <martin.jones@nokia.com>2009-10-23 05:42:12 (GMT)
commit74861c8076d7f58d5b06e1be2855666d3d17ddc8 (patch)
tree76ddb535839a821609fd243faaf000ea23725b6f /src/declarative/fx
parenta3fc3f37bf5884eb54cdde9367b3796558a6caf5 (diff)
downloadQt-74861c8076d7f58d5b06e1be2855666d3d17ddc8.zip
Qt-74861c8076d7f58d5b06e1be2855666d3d17ddc8.tar.gz
Qt-74861c8076d7f58d5b06e1be2855666d3d17ddc8.tar.bz2
Don't mess with the private data of an item that is being destroyed.
Diffstat (limited to 'src/declarative/fx')
-rw-r--r--src/declarative/fx/qfxanchors.cpp3
1 files changed, 0 insertions, 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<QFxItemPrivate *>(QGraphicsItemPrivate::get(item));
- p->dependantAnchors.removeAll(q);
}
void QFxAnchorsPrivate::addDepend(QFxItem *item)