aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2011-07-27 14:42:48 +1000
committerQt by Nokia <qt-info@nokia.com>2011-07-28 05:04:53 +0200
commitaa99d4f5cb4f1f512d1db90536752b518dbea449 (patch)
tree5f24d1e7fa8b2e423cd7dc8ded508da1ccdb38ff /tests
parent7062c0e2d273ed32a7fd33d5320e811ef72e6682 (diff)
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>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/declarative/qsglistview/tst_qsglistview.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/auto/declarative/qsglistview/tst_qsglistview.cpp b/tests/auto/declarative/qsglistview/tst_qsglistview.cpp
index 30daeb85ef..a3b5cd64bd 100644
--- a/tests/auto/declarative/qsglistview/tst_qsglistview.cpp
+++ b/tests/auto/declarative/qsglistview/tst_qsglistview.cpp
@@ -1297,8 +1297,6 @@ void tst_QSGListView::sectionsDelegate()
void tst_QSGListView::currentIndex()
{
- QSKIP("QTBUG-20020", SkipAll);
-
TestModel model;
for (int i = 0; i < 30; i++)
model.addItem("Item" + QString::number(i), QString::number(i));