summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2025-02-19 16:36:11 +0100
committerStephan Bergmann <stephan.bergmann@allotropia.de>2025-02-19 23:25:55 +0100
commit7a84593ec130b41da35d98fe7d45a71706935909 (patch)
tree60f389809a216fd42bf5fb3572844fa73491303a /vcl
parent5e1973754a9b924b2d9362c6083866d2cf93b790 (diff)
Create Data on demand in comphelper::emscriptenthreading::getData
...and get rid of comphelper::emscriptenthreading::setUp. This will help with a potentially forthcoming change to move initUno in desktop/source/app/appinit.cxx to the eventHandlerThread (so code in both desktop and in vcl/qt5 would need the comphelper::emscriptenthreading::Data and it would be unclear which should call setUp). Change-Id: I157f80a450d8eeabd6d0317c881c6a9ea67fc59a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181908 Reviewed-by: Stephan Bergmann <stephan.bergmann@allotropia.de> Tested-by: Jenkins
Diffstat (limited to 'vcl')
-rw-r--r--vcl/qt5/QtInstance.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/vcl/qt5/QtInstance.cxx b/vcl/qt5/QtInstance.cxx
index 34a589bd4a57..01df658f2eb3 100644
--- a/vcl/qt5/QtInstance.cxx
+++ b/vcl/qt5/QtInstance.cxx
@@ -275,7 +275,6 @@ QtInstance::QtInstance(std::unique_ptr<QApplication>& pQApp)
, m_pActivePopup(nullptr)
{
#if defined EMSCRIPTEN && ENABLE_QT6 && HAVE_EMSCRIPTEN_JSPI && !HAVE_EMSCRIPTEN_PROXY_TO_PTHREAD
- comphelper::emscriptenthreading::setUp();
m_emscriptenThreadingData = &comphelper::emscriptenthreading::getData();
#endif