diff options
author | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2009-08-06 08:36:59 (GMT) |
---|---|---|
committer | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2009-08-06 08:42:57 (GMT) |
commit | 886656afe0bd1101efbb0054c64f57326bb0a2ee (patch) | |
tree | 0ee9d2217a2aada06cfb4a09662b30fcb8a8aa83 /tests/auto/qitemview | |
parent | 4511c0b35517707542a3f32f82125c9d33a6000b (diff) | |
download | Qt-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')
-rw-r--r-- | tests/auto/qitemview/tst_qitemview.cpp | 2 |
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); }; |