From 7c1e7d19de97820e29c35d66ac593e597165a6c6b5344e2af5ee3849f1716ee3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 15 Mar 2019 11:48:40 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice?expand=0&rev=771 --- kde5.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; }