View | Details | Raw Unified | Return to bug 239988 | Differences between
and this patch

Collapse All | Expand All

(-)vcl/unx/kde5/KDE5SalInstance.cxx (-3 / +3 lines)
Lines 43-51 Link Here
43
SalFrame* KDE5SalInstance::CreateFrame(SalFrame* pParent, SalFrameStyleFlags nState)
43
SalFrame* KDE5SalInstance::CreateFrame(SalFrame* pParent, SalFrameStyleFlags nState)
44
{
44
{
45
    SalFrame* pRet(nullptr);
45
    SalFrame* pRet(nullptr);
46
    RunInMainThread(std::function([&pRet, pParent, nState]() {
46
    RunInMainThread([&pRet, pParent, nState]() {
47
        pRet = new KDE5SalFrame(static_cast<KDE5SalFrame*>(pParent), nState, true);
47
        pRet = new KDE5SalFrame(static_cast<KDE5SalFrame*>(pParent), nState, true);
48
    }));
48
    });
49
    assert(pRet);
49
    assert(pRet);
50
    return pRet;
50
    return pRet;
51
}
51
}
Lines 65-71 Link Here
65
    {
65
    {
66
        SolarMutexGuard g;
66
        SolarMutexGuard g;
67
        Qt5FilePicker* pPicker;
67
        Qt5FilePicker* pPicker;
68
        RunInMainThread(std::function([&, this]() { pPicker = createPicker(context, eMode); }));
68
        RunInMainThread([&, this]() { pPicker = createPicker(context, eMode); });
69
        assert(pPicker);
69
        assert(pPicker);
70
        return pPicker;
70
        return pPicker;
71
    }
71
    }

Return to bug 239988