From 2250a262fa3ecc68706e5e5905d44c3c04a482a9 Mon Sep 17 00:00:00 2001 From: Balazs Egedi Date: Wed, 5 May 2021 14:23:38 +0200 Subject: Fix QWebEngineDownloadRequest signals downloadFileNameChanged and downloadDirectoryChanged signals were removed in 08375ee7 Rename QWebEngineDownloadItem -> QWebEngineDownloadRequest. Reintroduce these signals because they are still part of the API. Also test these in Widgets auto test. QQuickWebEngineDownloadItem::pathChanged were also removed in 75393077 Remove obsolete, deprecated api from qwebenginedownloaditem. Remove the pathChanged signal checks from the test because it was deprecated. The test tst_download.qml does not have quickcontrols1 dependency. Update it in the project file and re-enable the test. Change-Id: I702e04dfe2179beafc558a628bfa07f4090fede2 Reviewed-by: Allan Sandfeld Jensen --- tests/auto/quick/qmltests/qmltests.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/auto/quick/qmltests/qmltests.pro') diff --git a/tests/auto/quick/qmltests/qmltests.pro b/tests/auto/quick/qmltests/qmltests.pro index 984d41064..e5e84d3c7 100644 --- a/tests/auto/quick/qmltests/qmltests.pro +++ b/tests/auto/quick/qmltests/qmltests.pro @@ -12,6 +12,7 @@ QML_TESTS = \ $$PWD/data/tst_activeFocusOnPress.qml \ $$PWD/data/tst_audioMuted.qml \ $$PWD/data/tst_desktopBehaviorLoadHtml.qml \ + $$PWD/data/tst_download.qml \ $$PWD/data/tst_findText.qml \ $$PWD/data/tst_focusOnNavigation.qml \ $$PWD/data/tst_fullScreenRequest.qml \ @@ -81,7 +82,6 @@ qtConfig(webenginequick-testsupport) { qtHaveModule(quickcontrols) { QML_TESTS += \ $$PWD/data/tst_contextMenu.qml \ - $$PWD/data/tst_download.qml \ $$PWD/data/tst_filePicker.qml } -- cgit v1.2.3