diff options
author | Ivan Solovev <ivan.solovev@qt.io> | 2020-12-14 14:35:07 +0100 |
---|---|---|
committer | Ivan Solovev <ivan.solovev@qt.io> | 2021-05-04 22:58:59 +0200 |
commit | 8161a9e5c0bd7430ab450801a144bd5a5e786408 (patch) | |
tree | 2f63c908085caebd0d6f015e4cf22cae23ad2e25 /coin | |
parent | 0fb77f80b81e09945a9e6e660c915c765415eb39 (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