bibr
public cpp v1 · immutable--- qgraphicsscene.cpp 2008/01/24 14:42:16.000000000+++ qgraphicsscene.cpp 2008/02/13 11:09:54.000000000@@ -3806,6 +3808,8 @@ if (cacheMode == QGraphicsItem::DeviceCoordinateCache) { QTransform transform = painter->worldTransform(); QRect deviceRect = transform.mapRect(brect).toRect();+ if (deviceRect.isEmpty())+ return; // Resort to direct rendering if the device rect exceeds the (optional) maximum bounds. QSize maximumCacheSize =