summaryrefslogtreecommitdiffstats
path: root/tests/auto/qitemview/tst_qitemview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qitemview/tst_qitemview.cpp')
-rw-r--r--tests/auto/qitemview/tst_qitemview.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/auto/qitemview/tst_qitemview.cpp b/tests/auto/qitemview/tst_qitemview.cpp
index 73c08d1..2f9ac96 100644
--- a/tests/auto/qitemview/tst_qitemview.cpp
+++ b/tests/auto/qitemview/tst_qitemview.cpp
@@ -173,8 +173,6 @@ public:
}
QModelIndex index( int row, int column, const QModelIndex & parent = QModelIndex() ) const {
- Q_ASSERT(row >= 0 && row <= rowCount(parent));
- Q_ASSERT(column >= 0 && column <= columnCount(parent));
return QStandardItemModel::index(row, column, parent);
};