summaryrefslogtreecommitdiffstats
path: root/src/corelib/serialization/qcborcommon.h
diff options
context:
space:
mode:
authorWang ChunLin <wangchunlin@uniontech.com>2020-10-23 11:02:30 +0800
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-11-18 20:57:48 +0100
commit8455bfee76ed3f1bd3bba8bd3688a7afa94ae0bb (patch)
tree6e3719d97cc85f5762508d3abfd03f4a49353193 /src/corelib/serialization/qcborcommon.h
parent8a6f52bf83f7f8e97e4eed7bafbcdfd85a5a5bab (diff)
Fix QSFPM not emitting dataChanged when source model is set
QSortFilterProxyModel did not emit dataChanged when calling setSourceModel() after modifying the source model. QSortFilterProxyModel::setSourceModel and QSortFilterProxyModelPrivate::_q_sourceReset(), _q_clearMapping is called to delete the source_index_mapping. They also need to call create_mapping function to re-create it. Fixes: QTBUG-87781 Pick-to: 5.15 Change-Id: Idbe34696c9d3a2fbf354b653c870bac61378811d Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/serialization/qcborcommon.h')
0 files changed, 0 insertions, 0 deletions