vcl/qt5/QtFilePicker.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 4eccf0c4bd3e7c48352417745d7f00b9c2ff44da
Author: Michael Weghorn <[email protected]>
AuthorDate: Tue Jan 25 12:28:25 2022 +0100
Commit: Xisco Fauli <[email protected]>
CommitDate: Tue Jan 25 16:25:31 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]>
(cherry picked from commit a85908f507f39c88a6cf244f5f4120361ad5e2ae)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128826
Reviewed-by: Xisco Fauli <[email protected]>
diff --git a/vcl/qt5/QtFilePicker.cxx b/vcl/qt5/QtFilePicker.cxx
index 3fae63fca74f..8da6e29cc216 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);