| 307 | } |
| 308 | |
| 309 | void |
| 310 | MultitaskController::onError(QString message) |
| 311 | { |
| 312 | CancellableTaskContext *ctx = this->findTask( |
| 313 | static_cast<CancellableTask *>(this->sender())); |
| 314 | |
| 315 | if (ctx != nullptr) { |
| 316 | (void) this->removeTaskContext(ctx); |
| 317 | emit taskError(ctx->index(), message); |
| 318 | } |
| 319 | } |
nothing calls this directly
no test coverage detected