| 283 | } |
| 284 | |
| 285 | void |
| 286 | MultitaskController::onDone(void) |
| 287 | { |
| 288 | CancellableTaskContext *ctx = this->findTask( |
| 289 | static_cast<CancellableTask *>(this->sender())); |
| 290 | |
| 291 | if (ctx != nullptr) { |
| 292 | (void) this->removeTaskContext(ctx); |
| 293 | emit taskDone(ctx->index()); |
| 294 | } |
| 295 | } |
| 296 | |
| 297 | void |
| 298 | MultitaskController::onCancelled(void) |
nothing calls this directly
no test coverage detected