diff options
author | Alexis Menard <alexis.menard@trolltech.com> | 2009-03-03 16:08:30 (GMT) |
---|---|---|
committer | Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com> | 2009-04-06 11:49:40 (GMT) |
commit | d74f1a91b05b943c1a8ae7847de6ee50b2093b89 (patch) | |
tree | cb3e96ad861063e4912d9b20555fc6c44fcef59f /tests/benchmarks/qwidget | |
parent | b67dffcccea9166918ac93c281d87fd5eb3baf84 (diff) | |
download | Qt-d74f1a91b05b943c1a8ae7847de6ee50b2093b89.zip Qt-d74f1a91b05b943c1a8ae7847de6ee50b2093b89.tar.gz Qt-d74f1a91b05b943c1a8ae7847de6ee50b2093b89.tar.bz2 |
Fixes: Be a bit more smarter when calling setGeometry from itemChange
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.
Diffstat (limited to 'tests/benchmarks/qwidget')
0 files changed, 0 insertions, 0 deletions