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:
parent
3c4ea1b3c6
commit
a91b91ae57
@ -154,7 +154,7 @@ void tst_QGraphicsItem::setPos()
|
||||
processEvents();
|
||||
|
||||
QBENCHMARK {
|
||||
rect->setPos(10, 10);
|
||||
rect->setPos(pos);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user