summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuciana Fujii Pontello <luciana@fujii.eti.br>2013-05-13 13:59:43 -0300
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>2013-06-05 12:00:52 +0300
commitf1364cb19b7631e85f336f79031e05d066947ac6 (patch)
tree6b01c2e4b2cdbe20de1ea3e512006efc9e633342
parent7282e200869d99d5d3f21778f7d89d2af1bb1590 (diff)
qt5: qtvideosink: Fix replacement of windowShown
qWaitForWindowShown has been deprecated in favor of qWaitForWindowExposed and not qWaitForWindowActive.
-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