tst_QTreeView: fix unused variable warning
Change-Id: Idf18e4615754d3b7b8a09d6fdec91344a7408c18 Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
This commit is contained in:
parent
57e750e620
commit
70d8e363df
@ -1994,7 +1994,7 @@ void tst_QTreeView::mouseDoubleClick()
|
|||||||
model.insertRows(0, 20, index);
|
model.insertRows(0, 20, index);
|
||||||
model.insertColumns(0,2,index);
|
model.insertColumns(0,2,index);
|
||||||
for (int i1 = 0; i1 < model.rowCount(index); i1++) {
|
for (int i1 = 0; i1 < model.rowCount(index); i1++) {
|
||||||
QModelIndex index2 = model.index(i1, 0, index);
|
(void)model.index(i1, 0, index);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user