| 26 | } |
| 27 | |
| 28 | void ClientPluginContext::PostWorkTask(std::function<void()>&& task) { |
| 29 | if (work_thread_) { |
| 30 | work_thread_->Post(std::move(task)); |
| 31 | } |
| 32 | } |
| 33 | |
| 34 | void ClientPluginContext::PostUITask(std::function<void()>&& task) { |
| 35 | QMetaObject::invokeMethod(this, [t = std::move(task)]() { |
nothing calls this directly
no outgoing calls
no test coverage detected