diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-09-17 00:31:04 (GMT) |
---|---|---|
committer | Jason McDonald <jason.mcdonald@nokia.com> | 2010-09-21 05:15:48 (GMT) |
commit | c13d3906af8936ab7c1f4cca16edf41822b23ac9 (patch) | |
tree | fd7df19ce4b427f0eab254cc78565d60b6197913 | |
parent | 2544544fd63f49c16aa5835bd47b2c39518ebbd9 (diff) | |
download | Qt-c13d3906af8936ab7c1f4cca16edf41822b23ac9.zip Qt-c13d3906af8936ab7c1f4cca16edf41822b23ac9.tar.gz Qt-c13d3906af8936ab7c1f4cca16edf41822b23ac9.tar.bz2 |
Fix worker agent to emit ListModel itemsChanged() correctly when set()
and setProperty() are called
Task-number: QTBUG-13666
(cherry picked from commit ff075380d7ec1472fcdff06b3f39ffdc02b7f112)
-rw-r--r-- | src/declarative/util/qdeclarativelistmodelworkeragent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/declarative/util/qdeclarativelistmodelworkeragent.cpp b/src/declarative/util/qdeclarativelistmodelworkeragent.cpp index d9df169..4392bed 100644 --- a/src/declarative/util/qdeclarativelistmodelworkeragent.cpp +++ b/src/declarative/util/qdeclarativelistmodelworkeragent.cpp @@ -232,7 +232,7 @@ bool QDeclarativeListModelWorkerAgent::event(QEvent *e) emit m_orig->itemsMoved(change.index, change.to, change.count); break; case Change::Changed: - emit m_orig->itemsChanged(change.index, change.to, orig->m_roles.keys()); + emit m_orig->itemsChanged(change.index, change.count, orig->m_roles.keys()); break; } } |