Fixes: Optimize QGraphicsViewPrivate::updateRect()/updateRegion().
authorBjoern Erik Nilsen <bnilsen@trolltech.com>
Thu, 26 Feb 2009 13:49:47 +0000 (14:49 +0100)
committerAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>
Mon, 6 Apr 2009 11:37:38 +0000 (13:37 +0200)
commitbe6be8c73929f2ddee9a02f59db05c3ba453a63e
tree85ff724aeed809922b1a985f5cd44dd57087a3a3
parente27743bdeda7aa3cb42f2d81a521121f8ee04eae
Fixes:    Optimize QGraphicsViewPrivate::updateRect()/updateRegion().

Details:  Those cut-offs are extremely important. After few seconds
          interaction with the iphone demo, updateRect() was called
          approx. 3000 times with an empty rect. Then imagine what
          happens when having e.g. FullViewportUpdate. We do
          q->viewport()->update() JUST FOR FUN!
src/gui/graphicsview/qgraphicsview.cpp