Stabilize tst_QWidget::setMaskInResizeEvent on OS X 10.10
Change-Id: I7dbe9c7a91301e0002f9e1827f6d0b495d2b9ec5 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
parent
4c855a9f9f
commit
b2cb4c73d3
@ -8079,8 +8079,8 @@ void tst_QWidget::setMaskInResizeEvent()
|
||||
|
||||
QRegion expectedParentUpdate(0, 0, 100, 10); // Old testWidget area.
|
||||
expectedParentUpdate += testWidget.geometry(); // New testWidget area.
|
||||
QCOMPARE(w.paintedRegion, expectedParentUpdate);
|
||||
QCOMPARE(testWidget.paintedRegion, testWidget.mask());
|
||||
QTRY_COMPARE(w.paintedRegion, expectedParentUpdate);
|
||||
QTRY_COMPARE(testWidget.paintedRegion, testWidget.mask());
|
||||
|
||||
testWidget.paintedRegion = QRegion();
|
||||
// Now resize the widget again, but in the oposite direction
|
||||
|
Loading…
Reference in New Issue
Block a user