diff options
author | Bea Lam <bea.lam@nokia.com> | 2011-01-10 04:08:44 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2011-01-11 01:45:19 (GMT) |
commit | aca9a8d95f1fa9c29a7650d528616a0962732db3 (patch) | |
tree | 07a3b88b3ae68bc9cb361f92527ee4c0c1d9ce84 /tests/auto/declarative/qdeclarativeecmascript/qdeclarativeecmascript.pro | |
parent | 9fbe02cf8a76d4cca0a28d9fb92a2b181494c82d (diff) | |
download | Qt-aca9a8d95f1fa9c29a7650d528616a0962732db3.zip Qt-aca9a8d95f1fa9c29a7650d528616a0962732db3.tar.gz Qt-aca9a8d95f1fa9c29a7650d528616a0962732db3.tar.bz2 |
set() and setProperty() should not always trigger change signals
Fix set() and setProperty() to only trigger itemsChanged(), and the
the <property>Changed signals for items returned by get(), if the
new value is different from the old one. The exception to this are
list values, as it is inefficient to check the sublists and also the
model classes are due to be revised.
This also fixes models used with a WorkerScript to emit
itemsChanged() with the correct roles.
Task-number: QTBUG-14620
Reviewed-by: Michael Brasser
Diffstat (limited to 'tests/auto/declarative/qdeclarativeecmascript/qdeclarativeecmascript.pro')
0 files changed, 0 insertions, 0 deletions