MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / onError

Method onError

Suscan/MultitaskController.cpp:309–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307}
308
309void
310MultitaskController::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}

Callers

nothing calls this directly

Calls 3

findTaskMethod · 0.95
removeTaskContextMethod · 0.95
indexMethod · 0.80

Tested by

no test coverage detected