diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2010-05-26 04:28:23 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2010-05-26 05:16:05 (GMT) |
commit | ef2bc487ab9b66e052920b671e947abc4a6d8ef4 (patch) | |
tree | 79b04e4a434ce146426e8127e865c08699f44b07 /src/declarative/graphicsitems/qdeclarativeanchors_p_p.h | |
parent | dc08c8bc7aba55ff4762d70b193a053ad210fb60 (diff) | |
download | Qt-ef2bc487ab9b66e052920b671e947abc4a6d8ef4.zip Qt-ef2bc487ab9b66e052920b671e947abc4a6d8ef4.tar.gz Qt-ef2bc487ab9b66e052920b671e947abc4a6d8ef4.tar.bz2 |
Fix horizontal/verticalCenter anchors bug.
Task-number: QTBUG-10999
Reviewed-by: Michael Brasser
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativeanchors_p_p.h')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativeanchors_p_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativeanchors_p_p.h b/src/declarative/graphicsitems/qdeclarativeanchors_p_p.h index 05be6c5..1bbea36 100644 --- a/src/declarative/graphicsitems/qdeclarativeanchors_p_p.h +++ b/src/declarative/graphicsitems/qdeclarativeanchors_p_p.h @@ -131,7 +131,7 @@ public: bool checkVValid() const; bool checkHAnchorValid(QDeclarativeAnchorLine anchor) const; bool checkVAnchorValid(QDeclarativeAnchorLine anchor) const; - bool calcStretch(const QDeclarativeAnchorLine &edge1, const QDeclarativeAnchorLine &edge2, int offset1, int offset2, QDeclarativeAnchorLine::AnchorLine line, int &stretch); + bool calcStretch(const QDeclarativeAnchorLine &edge1, const QDeclarativeAnchorLine &edge2, qreal offset1, qreal offset2, QDeclarativeAnchorLine::AnchorLine line, qreal &stretch); void updateHorizontalAnchors(); void updateVerticalAnchors(); |