The views have many +/- 1 which are causing errors.
authorMartin Jones <martin.jones@nokia.com>
Wed, 27 Jul 2011 04:42:48 +0000 (14:42 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 28 Jul 2011 03:04:53 +0000 (05:04 +0200)
commitaa99d4f5cb4f1f512d1db90536752b518dbea449
tree5f24d1e7fa8b2e423cd7dc8ded508da1ccdb38ff
parent7062c0e2d273ed32a7fd33d5320e811ef72e6682
The views have many +/- 1 which are causing errors.

Remove them all.  endPosition() etc. now refer to the position() +
size() rather than position() + size() - 1.

Change-Id: I6ddf98def39971ee2e2c3c2d0a1df97781290782
Fixes: QTBUG-20020
Reviewed-on: http://codereview.qt.nokia.com/2243
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Bea Lam <bea.lam@nokia.com>
src/declarative/items/qsggridview.cpp
src/declarative/items/qsgitemview.cpp
src/declarative/items/qsglistview.cpp
tests/auto/declarative/qsglistview/tst_qsglistview.cpp