diff -r 185d9fe96c6b -r b147745ba6be ui/qt/toolkit.cpp --- a/ui/qt/toolkit.cpp Wed Jul 22 21:21:24 2026 +0200 +++ b/ui/qt/toolkit.cpp Thu Jul 23 21:46:06 2026 +0200 @@ -131,7 +131,7 @@ e.window = obj->window; e.document = obj->ctx->document; e.eventdata = NULL; - e.eventdatatype = 0; + e.eventdatatype = UI_EVENT_DATA_NULL; e.intval = 0; e.set = ui_get_setop(); if(prepare_event) { @@ -169,7 +169,7 @@ e.window = obj->window; e.document = obj->ctx->document; e.eventdata = NULL; - e.eventdatatype = 0; + e.eventdatatype = UI_EVENT_DATA_NULL; e.intval = 0; e.set = ui_get_setop(); if(prepare_event) { @@ -185,3 +185,6 @@ action->setEnabled((bool)enable); } +void ui_call_mainthread(ui_threadfunc tf, void* td) { + // TODO +}