BT: Revert "Fixes: Don't fill the pixmap because we will copy the cache into it."
authorAndreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>
Tue, 21 Apr 2009 14:05:42 +0000 (16:05 +0200)
committerJason McDonald <jason.mcdonald@nokia.com>
Tue, 21 Apr 2009 23:18:23 +0000 (09:18 +1000)
commita8b6d332a6639b5dd2f3ac938251b12b7e4ad406
tree7b349ceb0c54de38875813ad277e36e789d072dc
parent386eee20daaf77fd3b0a2c4c33de00083d538c65
BT: Revert "Fixes:    Don't fill the pixmap because we will copy the cache into it."

This reverts commit 0985805ab3c7de5b15c115a98afb15944b6d93b9.

The Elastic Nodes example shows a black background for the cache pixmap
if the call to fill isn't there. Alexis and I both agree that it makes
no sense that we fill the pixmap with transparent pixels instead of
just drawing with QPainter::CompositionMode_Source, but since this
regression was introduced after 4.5.0 was released we must revert before
we investigate further.

Reviewed-by: Alexis
(cherry picked from commit 183cb6052c45d7c83e36c78da4e2c59c768209c7)
src/gui/graphicsview/qgraphicsscene.cpp