diff options
author | Michal Klocek <michal.klocek@qt.io> | 2023-06-07 17:44:56 +0200 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2023-06-07 21:00:56 +0200 |
commit | 0f58d62688ab5ce573a719c19e9e802d9373c322 (patch) | |
tree | 27174a38a31a6e46f50ade5e43aa0425e11598d5 /tests/auto | |
parent | 7731a513cf59b49c5b241d5c1bfc2e59ef990038 (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
Pick-to: 6.6 6.5
Change-Id: I644a50eea6640d751d81a5a21f478577d4c999cb
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'tests/auto')
-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; } |