summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qplatformscreen.cpp
diff options
context:
space:
mode:
authorEven Oscar Andersen <even.oscar.andersen@qt.io>2024-05-06 09:07:28 +0200
committerEven Oscar Andersen <even.oscar.andersen@qt.io>2024-05-08 06:47:16 +0000
commit1530c475e98d2dfdc2f6fc55ecc4d8707544191c (patch)
treee395a54bd0edd3c1146c9a5f5eafe8a95b3c404e /src/gui/kernel/qplatformscreen.cpp
parent1a4470a8eff39b96c13a5f9826b0366b5418c738 (diff)
wasm: Fix nullptr access in QWasmScreen::allwindowsHEADdev
If the QWindow::handle() has not been created yet we will add a zero page pointer to the allwindows list. One possible symptom is that emscripten::val complains in context2d() that it is accessed by the wrong thread. what happens is that the this pointer points to the first page. Seen in the documentviewer example Change-Id: I2b08176ebdd7c35d5105194f7fd9f4f6d45b77e5 Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Diffstat (limited to 'src/gui/kernel/qplatformscreen.cpp')
0 files changed, 0 insertions, 0 deletions