MCPcopy Create free account
hub / github.com/MultiMC/Launcher / controllerFailed

Method controllerFailed

launcher/Application.cpp:1437–1456  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1435}
1436
1437void Application::controllerFailed(const QString& error)
1438{
1439 Q_UNUSED(error);
1440 auto controller = qobject_cast<LaunchController *>(QObject::sender());
1441 if(!controller)
1442 return;
1443 auto id = controller->id();
1444 auto & extras = m_instanceExtras[id];
1445
1446 // on failure, do... nothing
1447 extras.controller.reset();
1448 subRunningInstance();
1449
1450 // quit when there are no more windows.
1451 if(shouldExitNow())
1452 {
1453 m_status = Status::Failed;
1454 exit(1);
1455 }
1456}
1457
1458void Application::ShowGlobalSettings(class QWidget* parent, QString open_page)
1459{

Callers

nothing calls this directly

Calls 2

idMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected