MCPcopy Create free account
hub / github.com/OpenMS/OpenMS / toolCrashed

Method toolCrashed

src/openms_gui/source/VISUAL/APPLICATIONS/TOPPASBase.cpp:1314–1330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 4

appendNewHeaderMethod · 0.80
getNameMethod · 0.45
getTypeMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected