qt5base-lts/tests/auto/other/qaccessibility
Andy Shaw bd591064be Use QPersistentModelIndex for storing a model index
QModelIndex is not safe to be used to store an index as it is designed
to be discarded right after use as the index information can change.

Therefore a QPersistentModelIndex should be used instead to store the
index. Subsequently the m_index does not need to be updated whenever
the model changes anymore as this is already done for us.

Task-number: QTBUG-49907
Change-Id: Icc93e410de2821c503ea15a7a1dd9ae32634914e
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
2016-11-17 06:48:31 +00:00
..
.gitignore Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
accessiblewidgets.h Update copyright headers 2015-02-11 06:49:51 +00:00
qaccessibility.pro fix usage of wince scope 2015-06-05 10:29:10 +00:00
tst_qaccessibility.cpp Use QPersistentModelIndex for storing a model index 2016-11-17 06:48:31 +00:00