Benchmarks/QGraphicsItem: use testdata instead hard-coded values

tst_QGraphicsItem::setPos() was provided with test data
but it was not used.

Change-Id: I8ed2a1ef9940024e4a0e666276f0953706869ef7
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
This commit is contained in:
Christian Ehrlicher 2018-03-22 11:12:55 +01:00
parent 3c4ea1b3c6
commit a91b91ae57

View File

@ -154,7 +154,7 @@ void tst_QGraphicsItem::setPos()
processEvents();
QBENCHMARK {
rect->setPos(10, 10);
rect->setPos(pos);
}
}