From 30fbb50b04029097d130fea216b8c9dda78ef084 Mon Sep 17 00:00:00 2001 From: maxkadushkin Date: Fri, 27 Oct 2023 16:17:53 +0300 Subject: [PATCH] [win-nix] for bug 54925 --- win-linux/src/components/cfiledialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win-linux/src/components/cfiledialog.cpp b/win-linux/src/components/cfiledialog.cpp index 73604ea9c..3f286f56d 100644 --- a/win-linux/src/components/cfiledialog.cpp +++ b/win-linux/src/components/cfiledialog.cpp @@ -335,7 +335,7 @@ QStringList CFileDialogWrapper::modalOpenDocuments(const QString& path, bool mul QString filter = m_mapFilters[AVS_OFFICESTUDIO_FILE_UNKNOWN]; filter.prepend(tr("Text documents") + " (*.docx *.doc *.odt *.ott *.rtf *.docm *.dotx *.dotm *.fb2 *.fodt *.wps *.wpt *.xml);;"); - return modalOpen(path, filter, nullptr, multi); + return modalOpen(path, filter, &filter, multi); } QStringList CFileDialogWrapper::modalOpenSpreadsheets(const QString& path, bool multi)