diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2022-03-16 09:25:08 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-03-19 01:55:52 +0000 |
commit | 9123674cdbbd04791c7c5b8bc943964f1298a3d5 (patch) | |
tree | 2ebc7a8e4ca7f2c324c439670882407b7c804050 | |
parent | b844ee29ddc1e3f1f9daec6d145becca293f950b (diff) |
DebugTranslationService: Do not show a window in the test
The test works fine with the window hidden. Trying to show it gives
problems in the CI. We also want to avoid showing windows in non-GUI
tests as far as possible.
Fixes: QTBUG-101738
Change-Id: I206f74f940e6ba7ac6346c85459b896387ab85a5
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
(cherry picked from commit 08d0fb39b9872650e1395d8d6c0289bc119027c8)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | tests/auto/qml/debugger/qqmldebugtranslationservice/tst_qqmldebugtranslationservice.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/auto/qml/debugger/qqmldebugtranslationservice/tst_qqmldebugtranslationservice.cpp b/tests/auto/qml/debugger/qqmldebugtranslationservice/tst_qqmldebugtranslationservice.cpp index ddb9657000..6d9be9deab 100644 --- a/tests/auto/qml/debugger/qqmldebugtranslationservice/tst_qqmldebugtranslationservice.cpp +++ b/tests/auto/qml/debugger/qqmldebugtranslationservice/tst_qqmldebugtranslationservice.cpp @@ -72,8 +72,6 @@ private slots: m_view.setSource((testFileUrl(QMLFILE))); QTRY_VERIFY2(m_view.status() == QQuickView::Ready, "Failed to load QML file"); - m_view.show(); - QVERIFY(QTest::qWaitForWindowActive(&m_view)); initQtHooks(); QVERIFY(hooks->qt_qmlDebugEnableService(qPrintable(QQmlDebugTranslationServiceImpl::s_key))); } |