| 64 | } |
| 65 | |
| 66 | void 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 | |
| 82 | void LaunchController::decideAccount() |
| 83 | { |