diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-08-30 03:54:29 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2010-09-08 04:12:29 (GMT) |
commit | 2ac7d2691e6c69eedb3b4ae62a47ec2af85612d5 (patch) | |
tree | 4fb7943d7cb995e5d80e14d9c437e303a4d3d81c /src | |
parent | ff9eebaa9adb9cd41e97ac806238888546e77294 (diff) | |
download | Qt-2ac7d2691e6c69eedb3b4ae62a47ec2af85612d5.zip Qt-2ac7d2691e6c69eedb3b4ae62a47ec2af85612d5.tar.gz Qt-2ac7d2691e6c69eedb3b4ae62a47ec2af85612d5.tar.bz2 |
Fix Worker ListModel to emit the right signal when items change
Diffstat (limited to 'src')
-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 498de6d..d9df169 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->itemsMoved(change.index, change.to, change.count); + emit m_orig->itemsChanged(change.index, change.to, orig->m_roles.keys()); break; } } |