diff options
author | Luciana Fujii Pontello <luciana@fujii.eti.br> | 2013-05-13 13:59:43 -0300 |
---|---|---|
committer | George Kiagiadakis <george.kiagiadakis@collabora.com> | 2013-06-05 12:00:52 +0300 |
commit | f1364cb19b7631e85f336f79031e05d066947ac6 (patch) | |
tree | 6b01c2e4b2cdbe20de1ea3e512006efc9e633342 | |
parent | 7282e200869d99d5d3f21778f7d89d2af1bb1590 (diff) |
qt5: qtvideosink: Fix replacement of windowShown
qWaitForWindowShown has been deprecated in favor of
qWaitForWindowExposed and not qWaitForWindowActive.
-rw-r--r-- | elements/gstqtvideosink/autotest.cpp | 2 |
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 |