| 29 | } |
| 30 | |
| 31 | void 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 | |
| 47 | void LaunchController::decideAccount() |
| 48 | { |