cui/source/factory/dlgfact.cxx | 4 ++-- sfx2/source/appl/appserv.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
New commits: commit 7e21785380f39f0fe53e06bafa3e5395f7f6e8b6 Author: Jan-Marek Glogowski <glo...@fbihome.de> AuthorDate: Fri Nov 19 01:42:54 2021 +0100 Commit: Jan-Marek Glogowski <glo...@fbihome.de> CommitDate: Fri Nov 19 13:14:06 2021 +0100 Change About LO dialog to run async Change-Id: I7255a8510e4cf983ebab477cbdb7cdcf00dabc98 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125512 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glo...@fbihome.de> diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx index 82c151f9ab91..bd3130fd0fc7 100644 --- a/cui/source/factory/dlgfact.cxx +++ b/cui/source/factory/dlgfact.cxx @@ -1477,8 +1477,8 @@ VclPtr<AbstractAdditionsDialog> AbstractDialogFactory_Impl::CreateAdditionsDialo VclPtr<VclAbstractDialog> AbstractDialogFactory_Impl::CreateAboutDialog(weld::Window* pParent) { - return VclPtr<CuiAbstractController_Impl>::Create( - std::make_unique<AboutDialog>(pParent)); + return VclPtr<CuiAbstractControllerAsync_Impl>::Create( + std::make_shared<AboutDialog>(pParent)); } VclPtr<VclAbstractDialog> diff --git a/sfx2/source/appl/appserv.cxx b/sfx2/source/appl/appserv.cxx index 816dfa668d69..b8c80823daf3 100644 --- a/sfx2/source/appl/appserv.cxx +++ b/sfx2/source/appl/appserv.cxx @@ -632,7 +632,7 @@ void SfxApplication::MiscExec_Impl( SfxRequest& rReq ) { SfxAbstractDialogFactory* pFact = SfxAbstractDialogFactory::Create(); ScopedVclPtr<VclAbstractDialog> pDlg(pFact->CreateAboutDialog(rReq.GetFrameWeld())); - pDlg->Execute(); + pDlg->StartExecuteAsync(nullptr); bDone = true; break; }