MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / onFailed

Method onFailed

launcher/LaunchController.cpp:452–459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

450}
451
452void LaunchController::onFailed(QString reason)
453{
454 if(m_instance->settings()->get("ShowConsoleOnError").toBool())
455 {
456 APPLICATION->showInstanceWindow(m_instance, "console");
457 }
458 emitFailed(reason);
459}
460
461void LaunchController::onProgressRequested(Task* task)
462{

Callers

nothing calls this directly

Calls 3

showInstanceWindowMethod · 0.80
getMethod · 0.45
settingsMethod · 0.45

Tested by

no test coverage detected