tst_QColumnView: fix unused variable warning

Change-Id: I41a71faa64a20cebab058cf69181104eceea2339
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
This commit is contained in:
Marc Mutz 2012-08-22 12:04:44 +02:00 committed by Qt by Nokia
parent 9f821f384b
commit ebaddb62bc

View File

@ -408,7 +408,6 @@ void tst_QColumnView::scrollTo()
home = model.index(0, 0, home);
home = model.index(0, 0, home);
view.scrollTo(home, QAbstractItemView::EnsureVisible);
QModelIndex homeFile = model.index(0, 0, home);
view.setRootIndex(home);
QModelIndex index = model.index(0, 0, home);