Commit 87911c6c97b11bd7d10a38698460174b6cadfbe8
Fix a leak because of an old legacy of QPixmapCache string API
We have to replace the pixmap in the cache if it was previously there,
we don't need to insert a new pixmap if a full update has been
triggered.
Reviewed-by:mbm
| |   |
| 4759 | 4759 | } |
| 4760 | 4760 | |
| 4761 | 4761 | // Find pixmap in cache. |
| if (!itemCache->allExposed) |
| pixmapFound = QPixmapCache::find(pixmapKey, &pix); |
| else |
| pixmapFound = false; |
| pixmapFound = QPixmapCache::find(pixmapKey, &pix); |
| 4766 | 4763 | |
| 4767 | 4764 | // Render using item coordinate cache mode. |
| 4768 | 4765 | if (cacheMode == QGraphicsItem::ItemCoordinateCache) { |