diff options
author | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2017-11-10 21:17:47 +0100 |
---|---|---|
committer | Christian Ehrlicher <ch.ehrlicher@gmx.de> | 2017-11-30 17:29:33 +0000 |
commit | 1c0fcbc887459d8963088309e83303eb1a7d2db0 (patch) | |
tree | 5a7a3a6da4f67cf7f7175334f368efc5860b5199 /src/corelib/thread/qthread_p.h | |
parent | 8a1f0d1f6c63f714d100bd49d9f845b5f88f846a (diff) |
QSortFilterProxyModel: Clear persistent indexes on source model change
When a new source model was set to QSortFilterProxyModel, the model
tried to remap the persistent indexes to the new model which was wrong.
The correct solution is to clear the persistent indexes with
_q_sourceModelDestroyed() since the old source model went away.
Task-number: QTBUG-44962
Change-Id: Id39e9ac83324250e8bfa434aae467a9206d2590e
Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
Diffstat (limited to 'src/corelib/thread/qthread_p.h')
0 files changed, 0 insertions, 0 deletions