mapFromModel() returned incorrect value
authorBea Lam <bea.lam@nokia.com>
Wed, 24 Aug 2011 06:47:35 +0000 (16:47 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 24 Aug 2011 08:11:29 +0000 (10:11 +0200)
commitff7bd14ec74b76c277bcd66026c42bfe209f0af6
treeaa58b636d5abc83e58e08a90004e5587f8dcd672
parent537c30a772afa0715d912011192dafec9f7e5a14
mapFromModel() returned incorrect value

It should not add visibleIndex to the returned value.
(regression from 9b5f9c8056186c9cf3c40dbac66e5f90369339dc when ListView
and GridView implementations were merged). GridView used to do this and
so did ListView at one point but the ListView implementation was
changed.

Change-Id: I94c02034580506d4b431126f1b857977e401c27a
Reviewed-on: http://codereview.qt.nokia.com/3450
Reviewed-by: Bea Lam <bea.lam@nokia.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
src/declarative/items/qsgitemview.cpp