summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks/qgraphicswidget/tst_qgraphicswidget.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fixes: Be a bit more smarter when calling setGeometry from itemChangeAlexis Menard2009-04-061-0/+60
RevBy: bnilsen AutoTest: Bench Details : if we come from setPosHelper (so itemChange) we don't need to do all the stuff regarding the size in setGeometry because the size doesn't change. I remove two calls to fullUpdateHelper and update() because prepareGeometryChange already call updateHelper and setPosHelper call fullUpdaterHelper too so we don't need to call them inside setGeometry. We can only call prepareGeometryChange only if we don't come from setPos.