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

Method executeTask

launcher/LaunchController.cpp:31–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31void LaunchController::executeTask()
32{
33 if (!m_instance)
34 {
35 emitFailed(tr("No instance specified!"));
36 return;
37 }
38
39 if(!JavaCommon::checkJVMArgs(m_instance->settings()->get("JvmArgs").toString(), m_parentWidget)) {
40 emitFailed(tr("Invalid Java arguments specified. Please fix this first."));
41 return;
42 }
43
44 login();
45}
46
47void LaunchController::decideAccount()
48{

Callers

nothing calls this directly

Calls 3

toStringMethod · 0.45
getMethod · 0.45
settingsMethod · 0.45

Tested by

no test coverage detected