For convenience expose InvokeOntoUIThread directly from CaptureContext

* This can be useful in python scripts and it's odd to have to go via the
  MiniQtHelper just for this.
This commit is contained in:
baldurk
2026-08-13 17:46:46 +01:00
parent 00159dafac
commit a02741381b
4 changed files with 26 additions and 0 deletions
@@ -1340,6 +1340,10 @@ struct CaptureContextInvoker : UIThreadInvoker<ICaptureContext>
// pass-through functions that don't need the UI thread
///////////////////////////////////////////////////////////////////////
//
virtual void InvokeOntoUIThread(std::function<void()> callback) override
{
return m_Obj.InvokeOntoUIThread(callback);
}
virtual rdcstr TempCaptureFilename(const rdcstr &appname) override
{
return m_Obj.TempCaptureFilename(appname);