diff -r 56cd8111b7f7 -r 41300fa6a67c src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglwindowsurface.cpp --- a/src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglwindowsurface.cpp Tue Jan 26 12:42:25 2010 +0200 +++ b/src/plugins/gfxdrivers/powervr/pvreglscreen/pvreglwindowsurface.cpp Tue Feb 02 00:43:10 2010 +0200 @@ -199,7 +199,7 @@ if (region.isEmpty()) { pvrQwsClearVisibleRegion(drawable); - } else if (region.numRects() == 1) { + } else if (region.rectCount() == 1) { QRect rect = region.boundingRect(); PvrQwsRect pvrRect; pvrRect.x = rect.x();