From 886656afe0bd1101efbb0054c64f57326bb0a2ee Mon Sep 17 00:00:00 2001 From: Gabriel de Dietrich Date: Thu, 6 Aug 2009 10:36:59 +0200 Subject: Useless Q_ASSERTs made test crash. Reviewed-by: thierry Reviewed-by: olivier --- tests/auto/qitemview/tst_qitemview.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests/auto/qitemview') diff --git a/tests/auto/qitemview/tst_qitemview.cpp b/tests/auto/qitemview/tst_qitemview.cpp index 73c08d1b6f..2f9ac9646e 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); }; -- cgit v1.2.1