diff options
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 598e15dc6b..27cf4552e9 100644 --- a/src/corelib/kernel/qeventdispatcher_wasm_p.h +++ b/src/corelib/kernel/qeventdispatcher_wasm_p.h @@ -88,6 +88,7 @@ private: bool *selectForRead, bool *selectForWrite, bool *socketDisconnect); static void run(std::function<void(void)> fn); + static void runOnMainThread(std::function<void(void)> fn); static void runAsync(std::function<void(void)> fn); static void runOnMainThreadAsync(std::function<void(void)> fn); |