Fixes: Use QRect::isEmpty() rather than isNull() if possible.
authorBjoern Erik Nilsen <bnilsen@trolltech.com>
Thu, 26 Feb 2009 14:47:04 +0000 (15:47 +0100)
committerAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>
Mon, 6 Apr 2009 11:46:31 +0000 (13:46 +0200)
commit8a2ebc96220f50be3a9c382c32d7eaab89921ff7
treec4fd867da9f4e4d1023e6ce8534f0cf3cfefebd1
parente9fa8ba1ad0b0b2d3363fb33635071677f42b983
Fixes:    Use QRect::isEmpty() rather than isNull() if possible.

RevBy:    Andreas
Details:  Note that isNull() implies isEmpty(), but it only catches
          the cases where width and height is 0.
src/gui/graphicsview/qgraphicsitem.cpp
src/gui/graphicsview/qgraphicsscene.cpp
src/gui/graphicsview/qgraphicsview.cpp