summaryrefslogtreecommitdiffstats
path: root/coin
diff options
context:
space:
mode:
authorIvan Solovev <ivan.solovev@qt.io>2020-12-14 14:35:07 +0100
committerIvan Solovev <ivan.solovev@qt.io>2021-05-04 22:58:59 +0200
commit8161a9e5c0bd7430ab450801a144bd5a5e786408 (patch)
tree2f63c908085caebd0d6f015e4cf22cae23ad2e25 /coin
parent0fb77f80b81e09945a9e6e660c915c765415eb39 (diff)
QAbstractProxyModel: port to new property system
The biggest trick here is the getter (QAbstractProxyModel::sourceModel), which is returning nullptr, while internally using a global staticEmptyModel() instance. This lead to inconsistency while binding to a proxy model without source model. The bound object would point to staticEmptyModel() instance, while sourceModel() getter returns nullptr. To solve this issue a custom QBindableInterface is implemented. Task-number: QTBUG-85520 Change-Id: I597df891c7e425d51b55f50ccbacabdfe935cbac Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
Diffstat (limited to 'coin')
0 files changed, 0 insertions, 0 deletions