Fixes: Cleanup calls to QGraphicsViewPrivate::updateRect()/updateRegion()
authorBjoern Erik Nilsen <bnilsen@trolltech.com>
Thu, 26 Feb 2009 14:00:08 +0000 (15:00 +0100)
committerJason McDonald <jason.mcdonald@nokia.com>
Wed, 15 Apr 2009 10:14:33 +0000 (20:14 +1000)
commit36e4718fba72a9962299c1a5ee279fa4addddec3
tree43b5619f0c556b2fee8a5e06b71b5fdbc11ed19f
parent2f1c9ca37b9ce2ab05aff9aa19b35c93990dcec7
Fixes:    Cleanup calls to QGraphicsViewPrivate::updateRect()/updateRegion()

Details:  Checking for QRect::isNull() was wrong in the first place, and
          checking for isEmpty()/isNull() is overhead after
          4a491a84aeba68279927597a261522dcc23bb3ff.
(cherry picked from commit e9fa8ba1ad0b0b2d3363fb33635071677f42b983)
src/gui/graphicsview/qgraphicsview.cpp