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 Pick-to: 6.2 6.3 Change-Id: I206f74f940e6ba7ac6346c85459b896387ab85a5 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
parent
cc2c9df788
commit
08d0fb39b9
|
@ -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)));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue