| 107 | } |
| 108 | |
| 109 | void BackgroundProgress::add_task(const String &p_task, const String &p_label, int p_steps) { |
| 110 | callable_mp(this, &BackgroundProgress::_add_task).call_deferred(p_task, p_label, p_steps); |
| 111 | } |
| 112 | |
| 113 | void BackgroundProgress::task_step(const String &p_task, int p_step) { |
| 114 | //this code is weird, but it prevents deadlock. |
no test coverage detected