Use the sibling method to make iteration over a range potentially faster.
authorStephen Kelly <stephen.kelly@kdab.com>
Wed, 26 Sep 2012 15:26:21 +0000 (17:26 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 27 Sep 2012 16:35:55 +0000 (18:35 +0200)
commit2d97c6a4748a6a94ce28f86b69c03bf1a56536aa
tree4a4c26b0c1cb185866b5c2e616e597b53c6bd19f
parenta7b2c43dfb25f1c6a1dc357bc353e210725c15d0
Use the sibling method to make iteration over a range potentially faster.

The implementation of QAIM can implement an efficient version of sibling.

Task-number: QTBUG-17732
Change-Id: I474dbc11e52b3ccc42e2165bc9336882fab13d03
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
src/corelib/itemmodels/qitemselectionmodel.cpp