tst_QTreeView: fix unused variable warning

Change-Id: Idf18e4615754d3b7b8a09d6fdec91344a7408c18
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
This commit is contained in:
Marc Mutz 2012-08-22 12:04:56 +02:00 committed by Qt by Nokia
parent 57e750e620
commit 70d8e363df

View File

@ -1994,7 +1994,7 @@ void tst_QTreeView::mouseDoubleClick()
model.insertRows(0, 20, index);
model.insertColumns(0,2,index);
for (int i1 = 0; i1 < model.rowCount(index); i1++) {
QModelIndex index2 = model.index(i1, 0, index);
(void)model.index(i1, 0, index);
}
}