summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--elements/gstqtvideosink/autotest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/elements/gstqtvideosink/autotest.cpp b/elements/gstqtvideosink/autotest.cpp
index c998ae4..2bd2fbf 100644
--- a/elements/gstqtvideosink/autotest.cpp
+++ b/elements/gstqtvideosink/autotest.cpp
@@ -767,7 +767,7 @@ void QtVideoSinkTest::qtVideoSinkTest()
widget->raise();
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
- QTest::qWaitForWindowActive(widget.data()->windowHandle());
+ QTest::qWaitForWindowExposed(widget.data()->windowHandle());
#else
QTest::qWaitForWindowShown(widget.data());
#endif