diff options
Diffstat (limited to 'tests/auto/gui/kernel')
-rw-r--r-- | tests/auto/gui/kernel/qwindow/tst_qwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp b/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp index b4659b7caf..0f1450fe7d 100644 --- a/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp +++ b/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp @@ -366,6 +366,7 @@ void tst_QWindow::isExposed() QTRY_VERIFY(window.received(QEvent::Expose) > 0); QTRY_VERIFY(window.isExposed()); +#ifndef Q_OS_WIN // This is a top-level window so assuming it is completely exposed, the // expose region must be (0, 0), (width, height). If this is not the case, // the platform plugin is sending expose events with a region in an @@ -373,6 +374,7 @@ void tst_QWindow::isExposed() QRect r = window.exposeRegion().boundingRect(); r = QRect(window.mapToGlobal(r.topLeft()), r.size()); QCOMPARE(r, window.geometry()); +#endif window.hide(); |