MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / executeTask

Method executeTask

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

toStringMethod · 0.45
getMethod · 0.45
settingsMethod · 0.45

Tested by

no test coverage detected