diff options
author | Martin Jones <martin.jones@nokia.com> | 2010-09-06 06:35:38 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2010-09-06 06:35:38 (GMT) |
commit | 35a51442ed21f58c06b21293eeb56e843251ee82 (patch) | |
tree | 80d22e67ff80df91ecc32d457c8b919b3c68fcae /src/declarative/graphicsitems/qdeclarativepathview_p.h | |
parent | 00f34afa24a229915d1f2b00c02b93f5890fab3f (diff) | |
download | Qt-35a51442ed21f58c06b21293eeb56e843251ee82.zip Qt-35a51442ed21f58c06b21293eeb56e843251ee82.tar.gz Qt-35a51442ed21f58c06b21293eeb56e843251ee82.tar.bz2 |
Fix PathView item position on insertion and removal.
Ensure the offset is adjusted to account for the new or removed items.
Also minor optimizations to delegate updates.
Task-number: QTBUG-13416
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativepathview_p.h')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativepathview_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativepathview_p.h b/src/declarative/graphicsitems/qdeclarativepathview_p.h index 035a64b..62a8c44 100644 --- a/src/declarative/graphicsitems/qdeclarativepathview_p.h +++ b/src/declarative/graphicsitems/qdeclarativepathview_p.h @@ -226,6 +226,7 @@ public: emit pathChanged(); } } + qreal m_percent; Q_SIGNALS: void currentItemChanged(); |