diff options
author | Morten Johan Sørvig <morten.sorvig@qt.io> | 2021-08-18 14:34:55 +0200 |
---|---|---|
committer | Morten Johan Sørvig <morten.sorvig@qt.io> | 2021-09-08 19:01:54 +0200 |
commit | a72066f449cefecb2cf6c822b0040b082d0b4156 (patch) | |
tree | baa2b4734b8daced3957a8135e86d4b58884792c /src/corelib/kernel/qeventdispatcher_wasm_p.h | |
parent | 04fd894400325fc26af739ff289c3f457acdb41d (diff) |
wasm: add DialogExec hack/warning to event dispatcher
Show the warning (and call emscripten_sleep) for the standard
build, but not for the asyncify build.
Change-Id: I695a580ea60897872beee6fa2b6ae70acb9e7dcf
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/corelib/kernel/qeventdispatcher_wasm_p.h')
-rw-r--r-- | src/corelib/kernel/qeventdispatcher_wasm_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/kernel/qeventdispatcher_wasm_p.h b/src/corelib/kernel/qeventdispatcher_wasm_p.h index 2fcd512773..75db11723c 100644 --- a/src/corelib/kernel/qeventdispatcher_wasm_p.h +++ b/src/corelib/kernel/qeventdispatcher_wasm_p.h @@ -90,6 +90,7 @@ private: bool isMainThreadEventDispatcher(); bool isSecondaryThreadEventDispatcher(); + void handleDialogExec(); void pollForNativeEvents(); bool waitForForEvents(); static void callProcessEvents(void *eventDispatcher); |