This commit is contained in:
parent
a751fee39a
commit
7c1e7d19de
@ -308,9 +308,9 @@ Index: libreoffice-6.2.2.1/vcl/unx/kde5/KDE5SalInstance.cxx
|
||||
- }
|
||||
- return new KDE5SalFrame(static_cast<KDE5SalFrame*>(pParent), nState, true);
|
||||
+ SalFrame* pRet(nullptr);
|
||||
+ RunInMainThread(std::function([&pRet, pParent, nState]() {
|
||||
+ RunInMainThread([&pRet, pParent, nState]() {
|
||||
+ pRet = new KDE5SalFrame(static_cast<KDE5SalFrame*>(pParent), nState, true);
|
||||
+ }));
|
||||
+ });
|
||||
+ assert(pRet);
|
||||
+ return pRet;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user