diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-05-11 00:55:55 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-05-11 00:55:55 (GMT) |
commit | b2120975bf3cae6ba9c51d79ccab8104cfc16e75 (patch) | |
tree | 619c21d6ef226856894db933b60c561489297db6 /src/declarative/fx/qfxanchors_p.h | |
parent | a365bd8f0cc53353ec8d3335ffec2d7810cf1d2a (diff) | |
download | Qt-b2120975bf3cae6ba9c51d79ccab8104cfc16e75.zip Qt-b2120975bf3cae6ba9c51d79ccab8104cfc16e75.tar.gz Qt-b2120975bf3cae6ba9c51d79ccab8104cfc16e75.tar.bz2 |
Add simple loop detection to anchoring system.
Diffstat (limited to 'src/declarative/fx/qfxanchors_p.h')
-rw-r--r-- | src/declarative/fx/qfxanchors_p.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/declarative/fx/qfxanchors_p.h b/src/declarative/fx/qfxanchors_p.h index 3a5d1c7..76f83a8 100644 --- a/src/declarative/fx/qfxanchors_p.h +++ b/src/declarative/fx/qfxanchors_p.h @@ -64,7 +64,8 @@ class QFxAnchorsPrivate : public QObjectPrivate public: QFxAnchorsPrivate() : item(0), usedAnchors(0), fill(0), centeredIn(0), leftMargin(0), rightMargin(0), - topMargin(0), bottomMargin(0), vCenterOffset(0), hCenterOffset(0) + topMargin(0), bottomMargin(0), vCenterOffset(0), hCenterOffset(0), + updatingHorizontalAnchor(false), updatingVerticalAnchor(false) { } @@ -99,6 +100,9 @@ public: int bottomMargin; int vCenterOffset; int hCenterOffset; + + bool updatingHorizontalAnchor; + bool updatingVerticalAnchor; }; QT_END_NAMESPACE |