summaryrefslogtreecommitdiffstats
path: root/tests/manual
diff options
context:
space:
mode:
authorMorten Sørvig <morten.sorvig@qt.io>2024-01-03 13:14:21 +0100
committerMorten Johan Sørvig <morten.sorvig@qt.io>2024-01-08 21:00:09 +0000
commit63a00ef2c09f11c9aec291cf1ab0f01d13b840bd (patch)
treec5c9902a4940e3b204fdc31adedcd3876d638d77 /tests/manual
parent9c03678f5c1cd293eded1c4a2c343190b99d3d6a (diff)
Compile with getOpenGileContent() API changes
getOpenGileContent() takes a parent now, and the compat API is behind a QT_WIDGETS_REMOVED_SINCE(6, 7) which the manual tests can't access. Pick-to: 6.7 Change-Id: I81784baed178bb8efd1a848d32c9ee4510971e26 Reviewed-by: Piotr Wierciński <piotr.wiercinski@qt.io> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
Diffstat (limited to 'tests/manual')
-rw-r--r--tests/manual/wasm/localfiles/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/manual/wasm/localfiles/main.cpp b/tests/manual/wasm/localfiles/main.cpp
index 39d9f21901..95a0b4ce0c 100644
--- a/tests/manual/wasm/localfiles/main.cpp
+++ b/tests/manual/wasm/localfiles/main.cpp
@@ -91,7 +91,8 @@ private Q_SLOTS:
{
QFileDialog::getOpenFileContent(
m_filterEdit->text(),
- std::bind(&AppWindow::onFileContentReady, this, std::placeholders::_1, std::placeholders::_2));
+ std::bind(&AppWindow::onFileContentReady, this, std::placeholders::_1, std::placeholders::_2),
+ &m_loadFileUi);
}
void onSaveClicked()