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

Method executeTask

launcher/LaunchController.cpp:66–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66void LaunchController::executeTask()
67{
68 if (!m_instance)
69 {
70 emitFailed(tr("No instance specified!"));
71 return;
72 }
73
74 if(!JavaCommon::checkJVMArgs(m_instance->settings()->get("JvmArgs").toString(), m_parentWidget)) {
75 emitFailed(tr("Invalid Java arguments specified. Please fix this first."));
76 return;
77 }
78
79 login();
80}
81
82void LaunchController::decideAccount()
83{

Callers

nothing calls this directly

Calls 3

toStringMethod · 0.45
getMethod · 0.45
settingsMethod · 0.45

Tested by

no test coverage detected