MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / PostUIDelayTask

Method PostUIDelayTask

src/render_panel/gr_context.cpp:135–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133 }
134
135 void GrContext::PostUIDelayTask(std::function<void()>&& task, int ms) {
136 this->PostUITask([ms, t = std::move(task)]() {
137 QTimer::singleShot(ms, [=]() {
138 t();
139 });
140 });
141 }
142
143 void GrContext::PostDelayTask(std::function<void()>&& task, int ms) {
144 this->PostUIDelayTask([=, this]() {

Callers 15

PostDelayTaskMethod · 0.95
nativeEventFilterMethod · 0.45
NotifyViGEnStateMethod · 0.45
InitMethod · 0.45
RunningStreamManagerMethod · 0.45
GenStreamMethod · 0.45
AppStreamListMethod · 0.45
InitMethod · 0.45
StartStreamMethod · 0.45
StartStreamInternalMethod · 0.45

Calls 1

PostUITaskMethod · 0.95

Tested by

no test coverage detected