diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-09-17 00:31:04 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2010-09-17 00:32:39 (GMT) |
commit | ff075380d7ec1472fcdff06b3f39ffdc02b7f112 (patch) | |
tree | 65d56edbda6c08621ef4531c7e8cce4875496851 /src/declarative/util/qdeclarativelistmodelworkeragent.cpp | |
parent | fc007d0a99cc52e673c5d2606e5076831f6103b1 (diff) | |
download | Qt-ff075380d7ec1472fcdff06b3f39ffdc02b7f112.zip Qt-ff075380d7ec1472fcdff06b3f39ffdc02b7f112.tar.gz Qt-ff075380d7ec1472fcdff06b3f39ffdc02b7f112.tar.bz2 |
Fix worker agent to emit ListModel itemsChanged() correctly when set()
and setProperty() are called
Task-number: QTBUG-13666
Diffstat (limited to 'src/declarative/util/qdeclarativelistmodelworkeragent.cpp')
-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; } } |