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. Change-Id: I81784baed178bb8efd1a848d32c9ee4510971e26 Reviewed-by: Piotr Wierciński <piotr.wiercinski@qt.io> Reviewed-by: Lorn Potter <lorn.potter@gmail.com> (cherry picked from commit 63a00ef2c09f11c9aec291cf1ab0f01d13b840bd) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
2a57d5b592
commit
564e1748f2
@ -91,7 +91,8 @@ private Q_SLOTS:
|
|||||||
{
|
{
|
||||||
QFileDialog::getOpenFileContent(
|
QFileDialog::getOpenFileContent(
|
||||||
m_filterEdit->text(),
|
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()
|
void onSaveClicked()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user