| 1312 | } |
| 1313 | |
| 1314 | void TOPPASBase::toolCrashed() |
| 1315 | { |
| 1316 | TOPPASToolVertex* tv = dynamic_cast<TOPPASToolVertex*>(QObject::sender()); |
| 1317 | if (tv) |
| 1318 | { |
| 1319 | String text = tv->getName(); |
| 1320 | String type = tv->getType(); |
| 1321 | if (!type.empty()) |
| 1322 | { |
| 1323 | text += " (" + type + ")"; |
| 1324 | } |
| 1325 | text += " crashed!"; |
| 1326 | |
| 1327 | log_->appendNewHeader(LogWindow::LogState::CRITICAL, text, ""); |
| 1328 | } |
| 1329 | updateMenu(); |
| 1330 | } |
| 1331 | |
| 1332 | void TOPPASBase::toolFailed() |
| 1333 | { |
nothing calls this directly
no test coverage detected