diff options
author | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2010-04-29 04:23:49 (GMT) |
---|---|---|
committer | Leonardo Sobral Cunha <leo.cunha@nokia.com> | 2010-04-29 04:43:08 (GMT) |
commit | 6e061ee6bd2f516e6ae6ed8035fe7afe5abd5566 (patch) | |
tree | 7ef551c51f0f7d97a88650c5d5f31334f2ac7569 /src/declarative/graphicsitems/qdeclarativepath_p_p.h | |
parent | f5287ee035fe0c218de47b77038b881d9c857110 (diff) | |
download | Qt-6e061ee6bd2f516e6ae6ed8035fe7afe5abd5566.zip Qt-6e061ee6bd2f516e6ae6ed8035fe7afe5abd5566.tar.gz Qt-6e061ee6bd2f516e6ae6ed8035fe7afe5abd5566.tar.bz2 |
Fix path view update on startX(Y) changes in qml
Task-number: QTBUG-10290
Reviewed-by: Michael Brasser
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativepath_p_p.h')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativepath_p_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativepath_p_p.h b/src/declarative/graphicsitems/qdeclarativepath_p_p.h index e82bcf5..994090e 100644 --- a/src/declarative/graphicsitems/qdeclarativepath_p_p.h +++ b/src/declarative/graphicsitems/qdeclarativepath_p_p.h @@ -65,7 +65,7 @@ class QDeclarativePathPrivate : public QObjectPrivate Q_DECLARE_PUBLIC(QDeclarativePath) public: - QDeclarativePathPrivate() : startX(0), startY(0), closed(false) { } + QDeclarativePathPrivate() : startX(0), startY(0), closed(false), componentComplete(true) { } QPainterPath _path; QList<QDeclarativePathElement*> _pathElements; @@ -75,6 +75,7 @@ public: int startX; int startY; bool closed; + bool componentComplete; }; QT_END_NAMESPACE |