Return QPersistentModelIndexes from QItemSelectionRange.
authorStephen Kelly <stephen.kelly@kdab.com>
Thu, 27 Sep 2012 09:24:38 +0000 (11:24 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 1 Oct 2012 07:38:31 +0000 (09:38 +0200)
commit1511fb37cf5a15fbc1fd498ff122988cc0ef83c3
treec0efc96106629fefc8cf15d77b56c9561a5667a7
parent308987fb961e68f279a25a5e934bc66662f5f75a
Return QPersistentModelIndexes from QItemSelectionRange.

They are stored as such anyway, and this allows clients to not have to
convert between QModelIndex and back so much. This should be
fully source-compatible.

Change-Id: Ia606ea082442089a0aae1583380c3710ce61d3d1
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
src/corelib/itemmodels/qitemselectionmodel.h