summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativepathview_p.h
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2010-09-06 06:35:38 (GMT)
committerMartin Jones <martin.jones@nokia.com>2010-09-06 06:35:38 (GMT)
commit35a51442ed21f58c06b21293eeb56e843251ee82 (patch)
tree80d22e67ff80df91ecc32d457c8b919b3c68fcae /src/declarative/graphicsitems/qdeclarativepathview_p.h
parent00f34afa24a229915d1f2b00c02b93f5890fab3f (diff)
downloadQt-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.h1
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();