diff options
author | Michal Klocek <michal.klocek@qt.io> | 2023-06-07 17:44:56 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-06-07 22:43:48 +0000 |
commit | 75ee28655ee1b318f4710987f01b65d8c5183e36 (patch) | |
tree | ec31940169c1277e89611c3f050fb9414da69f77 | |
parent | 089895e428bb464cdfd770bd03b62a66281b9760 (diff) |
Fix string -> stringlist conversion in filePicker test
Since 67d0c0821 in declarative strings are not longer converted
to QStringList in case of c++ calls. Be explicit now.
Fixes: QTBUG-114339
Change-Id: I644a50eea6640d751d81a5a21f478577d4c999cb
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit 0f58d62688ab5ce573a719c19e9e802d9373c322)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | tests/auto/quick/qmltests/data/tst_filePicker.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/quick/qmltests/data/tst_filePicker.qml b/tests/auto/quick/qmltests/data/tst_filePicker.qml index a557369ed..2d6a88703 100644 --- a/tests/auto/quick/qmltests/data/tst_filePicker.qml +++ b/tests/auto/quick/qmltests/data/tst_filePicker.qml @@ -98,7 +98,7 @@ TestWebEngineView { function acceptedFileHandler(request) { request.accepted = true; - request.dialogAccept(row.input); + request.dialogAccept([row.input]); finished = true; } @@ -253,7 +253,7 @@ TestWebEngineView { function acceptedFileHandler(request) { request.accepted = true; - request.dialogAccept(row.input); + request.dialogAccept([row.input]); finished = true; } |