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

Method controllerFailed

launcher/Application.cpp:1378–1397  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1376}
1377
1378void Application::controllerFailed(const QString& error)
1379{
1380 Q_UNUSED(error);
1381 auto controller = qobject_cast<LaunchController *>(QObject::sender());
1382 if(!controller)
1383 return;
1384 auto id = controller->id();
1385 auto & extras = m_instanceExtras[id];
1386
1387 // on failure, do... nothing
1388 extras.controller.reset();
1389 subRunningInstance();
1390
1391 // quit when there are no more windows.
1392 if(shouldExitNow())
1393 {
1394 m_status = Status::Failed;
1395 exit(1);
1396 }
1397}
1398
1399void Application::ShowGlobalSettings(class QWidget* parent, QString open_page)
1400{

Callers

nothing calls this directly

Calls 2

idMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected