summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeviewer
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2011-01-10 04:08:44 (GMT)
committerBea Lam <bea.lam@nokia.com>2011-01-11 01:45:19 (GMT)
commitaca9a8d95f1fa9c29a7650d528616a0962732db3 (patch)
tree07a3b88b3ae68bc9cb361f92527ee4c0c1d9ce84 /tests/auto/declarative/qdeclarativeviewer
parent9fbe02cf8a76d4cca0a28d9fb92a2b181494c82d (diff)
downloadQt-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/qdeclarativeviewer')
0 files changed, 0 insertions, 0 deletions