diff options
author | Luca Beldi <v.ronin@yahoo.it> | 2021-10-19 10:34:33 +0100 |
---|---|---|
committer | Luca Beldi <v.ronin@yahoo.it> | 2021-11-26 17:12:07 +0000 |
commit | c27d2a57a441f9a1ce760e71635bd4c96882249d (patch) | |
tree | 6a78ea1875dfee91110b5ca23135c90c559fd8d9 /tests/benchmarks/corelib/thread/qwaitcondition | |
parent | 99644a9e9441b0549fe2c178b34169c35036c46c (diff) |
Make QAbstractProxyModel itemData() behave like data()
QAbstractProxyModel::itemData/setItemData should behave
just like data()/setData() instead of calling the
QAbstractItemModel implementation.
Before this change the QAbstractProxyModel implementation
calls its the QAbstractItemModel implementation,
which ends up calling data()/setData() in a loop
bypassing the convenience of itemData/setItemData.
[ChangeLog][QtCore][QAbstractProxyModel] The itemData()
and setItemData() functions will now call the respective
implementations in the source model (after mapping the
index to a source index), matching what data() and
setData() already did.
Before, the proxy model simply called the default
implementations of itemData()/setItemData() in its own
base class (QAbstractItemModel).
Change-Id: I9e680d355f44fa130660dd7e1c8ac37484c1566e
Reviewed-by: David Faure <david.faure@kdab.com>
Diffstat (limited to 'tests/benchmarks/corelib/thread/qwaitcondition')
0 files changed, 0 insertions, 0 deletions