diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2010-05-31 03:35:48 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2010-05-31 03:41:50 (GMT) |
commit | 51aed62ef08f1ffacce71d44612abe46b8344923 (patch) | |
tree | 6327e4f30e15d39d073fbf48c9beb849b1c803ac /src/declarative/graphicsitems/qdeclarativepath.cpp | |
parent | 57d25d03f0a53be4cca6d20dcce0e5f2f9eecc45 (diff) | |
download | Qt-51aed62ef08f1ffacce71d44612abe46b8344923.zip Qt-51aed62ef08f1ffacce71d44612abe46b8344923.tar.gz Qt-51aed62ef08f1ffacce71d44612abe46b8344923.tar.bz2 |
Add notifier for PathPercent.value
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativepath.cpp')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativepath.cpp | 5 |
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 |