Stabilize tst_QGraphicsItem::cacheMode on the Mac.
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>
Thu, 17 Sep 2009 10:31:39 +0000 (12:31 +0200)
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>
Thu, 17 Sep 2009 10:31:39 +0000 (12:31 +0200)
commit3db470f76b5e9cc576197164f666bd5d43bfbfbd
tree33760aacdb498c851f7447d1632a3e90cc3d8708
parent2ec5d3977e454815a11ad0a9b6e95f77b7e17d0f
Stabilize tst_QGraphicsItem::cacheMode on the Mac.

Problem was that the window got activated *after* the items
were added to the scene, causing two repaints on the viewport.
tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp