From 564e1748f28d7bcc160f2933ae218942250ef6dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20S=C3=B8rvig?= Date: Wed, 3 Jan 2024 13:14:21 +0100 Subject: [PATCH] Compile with getOpenGileContent() API changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. Change-Id: I81784baed178bb8efd1a848d32c9ee4510971e26 Reviewed-by: Piotr WierciƄski Reviewed-by: Lorn Potter (cherry picked from commit 63a00ef2c09f11c9aec291cf1ab0f01d13b840bd) Reviewed-by: Qt Cherry-pick Bot --- tests/manual/wasm/localfiles/main.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/manual/wasm/localfiles/main.cpp b/tests/manual/wasm/localfiles/main.cpp index 39d9f219015..95a0b4ce0c2 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()