vcl/qt5/QtFilePicker.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit a85908f507f39c88a6cf244f5f4120361ad5e2ae
Author: Michael Weghorn <[email protected]>
AuthorDate: Tue Jan 25 12:28:25 2022 +0100
Commit: Michael Weghorn <[email protected]>
CommitDate: Tue Jan 25 15:01:41 2022 +0100
tdf#146941 qt: QtFilePicker::finished needs SolarMutexGuard
Change-Id: I4165c72ddd6370c8fe7faf55f9db831359f6f8a5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128923
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <[email protected]>
diff --git a/vcl/qt5/QtFilePicker.cxx b/vcl/qt5/QtFilePicker.cxx
index 05682fa1e7bf..42caf06149f0 100644
--- a/vcl/qt5/QtFilePicker.cxx
+++ b/vcl/qt5/QtFilePicker.cxx
@@ -187,6 +187,7 @@ void QtFilePicker::prepareExecute()
void QtFilePicker::finished(int nResult)
{
+ SolarMutexGuard g;
uno::Reference<css::frame::XDesktop>
xDesktop(css::frame::Desktop::create(m_context),
UNO_QUERY_THROW);
xDesktop->removeTerminateListener(this);