diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-19 01:36:49 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-19 01:36:49 (GMT) |
commit | b176adc2665ef4b94f30ba5fd8d85a5913b0bbbb (patch) | |
tree | 34c6bb7b02b5c4adcb64b741b68c853c49a36662 /src/declarative/fx/qfxanchors.cpp | |
parent | 8d2e8481d6190ce15db66e9bebc22f9068174bea (diff) | |
download | Qt-b176adc2665ef4b94f30ba5fd8d85a5913b0bbbb.zip Qt-b176adc2665ef4b94f30ba5fd8d85a5913b0bbbb.tar.gz Qt-b176adc2665ef4b94f30ba5fd8d85a5913b0bbbb.tar.bz2 |
Add missing clearItem() flag
Diffstat (limited to 'src/declarative/fx/qfxanchors.cpp')
-rw-r--r-- | src/declarative/fx/qfxanchors.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/declarative/fx/qfxanchors.cpp b/src/declarative/fx/qfxanchors.cpp index 826d6c1..3eaf47a 100644 --- a/src/declarative/fx/qfxanchors.cpp +++ b/src/declarative/fx/qfxanchors.cpp @@ -186,8 +186,10 @@ void QFxAnchorsPrivate::clearItem(QFxItem *item) fill = 0; if (centeredIn == item) centeredIn = 0; - if (left.item == item) + if (left.item == item) { left.item = 0; + usedAnchors &= ~QFxAnchors::HasLeftAnchor; + } if (right.item == item) { right.item = 0; usedAnchors &= ~QFxAnchors::HasRightAnchor; |