summaryrefslogtreecommitdiffstats
path: root/tests/auto/qitemview/tst_qitemview.cpp
diff options
context:
space:
mode:
authorGabriel de Dietrich <gabriel.dietrich-de@nokia.com>2009-08-06 08:36:59 (GMT)
committerGabriel de Dietrich <gabriel.dietrich-de@nokia.com>2009-08-06 08:42:57 (GMT)
commit886656afe0bd1101efbb0054c64f57326bb0a2ee (patch)
tree0ee9d2217a2aada06cfb4a09662b30fcb8a8aa83 /tests/auto/qitemview/tst_qitemview.cpp
parent4511c0b35517707542a3f32f82125c9d33a6000b (diff)
downloadQt-886656afe0bd1101efbb0054c64f57326bb0a2ee.zip
Qt-886656afe0bd1101efbb0054c64f57326bb0a2ee.tar.gz
Qt-886656afe0bd1101efbb0054c64f57326bb0a2ee.tar.bz2
Useless Q_ASSERTs made test crash.
Reviewed-by: thierry Reviewed-by: olivier
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);
};