diff options
Diffstat (limited to 'tests/auto/unit/qpaintervideosurface/tst_qpaintervideosurface.cpp')
-rw-r--r-- | tests/auto/unit/qpaintervideosurface/tst_qpaintervideosurface.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/auto/unit/qpaintervideosurface/tst_qpaintervideosurface.cpp b/tests/auto/unit/qpaintervideosurface/tst_qpaintervideosurface.cpp index a68103912..7dcb103e5 100644 --- a/tests/auto/unit/qpaintervideosurface/tst_qpaintervideosurface.cpp +++ b/tests/auto/unit/qpaintervideosurface/tst_qpaintervideosurface.cpp @@ -563,7 +563,7 @@ void tst_QPainterVideoSurface::shaderType() QPainterVideoSurface surface; QGLWidget widget; widget.show(); - QTest::qWaitForWindowShown(&widget); + QTest::qWaitForWindowExposed(&widget); widget.makeCurrent(); QCOMPARE(surface.shaderType(), QPainterVideoSurface::NoShaders); @@ -655,7 +655,7 @@ void tst_QPainterVideoSurface::shaderTypeStarted() QGLWidget widget; widget.show(); - QTest::qWaitForWindowShown(&widget); + QTest::qWaitForWindowExposed(&widget); widget.makeCurrent(); QPainterVideoSurface surface; @@ -900,7 +900,7 @@ void tst_QPainterVideoSurface::shaderSupportedFormat() QGLWidget widget; widget.show(); - QTest::qWaitForWindowShown(&widget); + QTest::qWaitForWindowExposed(&widget); widget.makeCurrent(); QPainterVideoSurface surface; @@ -1017,7 +1017,7 @@ void tst_QPainterVideoSurface::shaderPresent() QGLWidget widget; widget.show(); - QTest::qWaitForWindowShown(&widget); + QTest::qWaitForWindowExposed(&widget); widget.makeCurrent(); QPainterVideoSurface surface; @@ -1148,7 +1148,7 @@ void tst_QPainterVideoSurface::shaderPresentOpaqueFrame() QGLWidget widget; widget.show(); - QTest::qWaitForWindowShown(&widget); + QTest::qWaitForWindowExposed(&widget); widget.makeCurrent(); QPainterVideoSurface surface; @@ -1197,7 +1197,7 @@ void tst_QPainterVideoSurface::shaderPresentGLFrame() QGLWidget widget; widget.show(); - QTest::qWaitForWindowShown(&widget); + QTest::qWaitForWindowExposed(&widget); widget.makeCurrent(); QPainterVideoSurface surface; |