diff --git a/kde5.patch b/kde5.patch index f58fa7e..7294a85 100644 --- a/kde5.patch +++ b/kde5.patch @@ -308,9 +308,9 @@ Index: libreoffice-6.2.2.1/vcl/unx/kde5/KDE5SalInstance.cxx - } - return new KDE5SalFrame(static_cast(pParent), nState, true); + SalFrame* pRet(nullptr); -+ RunInMainThread(std::function([&pRet, pParent, nState]() { ++ RunInMainThread([&pRet, pParent, nState]() { + pRet = new KDE5SalFrame(static_cast(pParent), nState, true); -+ })); ++ }); + assert(pRet); + return pRet; }