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

Method controllerFailed

launcher/Application.cpp:1363–1382  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1361}
1362
1363void Application::controllerFailed(const QString& error)
1364{
1365 Q_UNUSED(error);
1366 auto controller = qobject_cast<LaunchController *>(QObject::sender());
1367 if(!controller)
1368 return;
1369 auto id = controller->id();
1370 auto & extras = m_instanceExtras[id];
1371
1372 // on failure, do... nothing
1373 extras.controller.reset();
1374 subRunningInstance();
1375
1376 // quit when there are no more windows.
1377 if(shouldExitNow())
1378 {
1379 m_status = Status::Failed;
1380 exit(1);
1381 }
1382}
1383
1384void Application::ShowGlobalSettings(class QWidget* parent, QString open_page)
1385{

Callers

nothing calls this directly

Calls 2

idMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected