summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativepath.cpp
diff options
context:
space:
mode:
authorWarwick Allison <warwick.allison@nokia.com>2010-05-31 05:49:47 (GMT)
committerWarwick Allison <warwick.allison@nokia.com>2010-05-31 05:49:47 (GMT)
commita186682a9c0ca21cd36c0e79cd58f965115f3c10 (patch)
tree7b3f9c1270888c1e57074520d538242938a74824 /src/declarative/graphicsitems/qdeclarativepath.cpp
parentb8b1e9784583e3b5960b1966328299f8a1bec440 (diff)
parent51aed62ef08f1ffacce71d44612abe46b8344923 (diff)
downloadQt-a186682a9c0ca21cd36c0e79cd58f965115f3c10.zip
Qt-a186682a9c0ca21cd36c0e79cd58f965115f3c10.tar.gz
Qt-a186682a9c0ca21cd36c0e79cd58f965115f3c10.tar.bz2
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativepath.cpp')
-rw-r--r--src/declarative/graphicsitems/qdeclarativepath.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativepath.cpp b/src/declarative/graphicsitems/qdeclarativepath.cpp
index 2d08c7c..141a938 100644
--- a/src/declarative/graphicsitems/qdeclarativepath.cpp
+++ b/src/declarative/graphicsitems/qdeclarativepath.cpp
@@ -867,6 +867,9 @@ qreal QDeclarativePathPercent::value() const
void QDeclarativePathPercent::setValue(qreal value)
{
- _value = value;
+ if (_value != value) {
+ _value = value;
+ emit changed();
+ }
}
QT_END_NAMESPACE