summaryrefslogtreecommitdiffstats
path: root/src/opengl
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@qt.io>2016-10-21 17:14:31 +0200
committerAndy Shaw <andy.shaw@qt.io>2016-11-17 06:48:31 +0000
commitbd591064be388216f91d48522b3bdbc1be93bb92 (patch)
tree51ddfb98d4fc34334770e50097f82c7497eef9e1 /src/opengl
parentbebbaa43fd21baf0b2235199e84898f18d6cc861 (diff)
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>
Diffstat (limited to 'src/opengl')
0 files changed, 0 insertions, 0 deletions