Fix the update() autotest for raster.
With the CoreGraphics engine, we expect the test to fail with update(), but with the raster engine the behavior is the same across platforms. Hence we don't need a special case for Mac OS X with the raster engine. Reviewed-by: Samuel Rødal (cherry picked from commit 75d2387fbf005b022437855ab6433790372639f8)
This commit is contained in:
parent
5839b221a0
commit
1dab1ce6af
@ -4738,7 +4738,8 @@ void tst_QWidget::update()
|
||||
QCOMPARE(w.visibleRegion(), expectedVisible);
|
||||
QCOMPARE(w.paintedRegion, expectedVisible);
|
||||
#ifdef QT_MAC_USE_COCOA
|
||||
QEXPECT_FAIL(0, "Cocoa compositor says to paint this.", Continue);
|
||||
if (QApplicationPrivate::graphics_system_name != QLatin1String("raster"))
|
||||
QEXPECT_FAIL(0, "Cocoa compositor says to paint this.", Continue);
|
||||
#endif
|
||||
QCOMPARE(child.numPaintEvents, 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user