From 0a56b562864ce56d14a9657681f221e91dfba129 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 3 Dec 2017 14:05:35 +0100 Subject: NOISSUE in offline mode, do not contact the auth server if there is a valid account already --- application/LaunchController.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'application/LaunchController.cpp') diff --git a/application/LaunchController.cpp b/application/LaunchController.cpp index 70b71eaf..2e711933 100644 --- a/application/LaunchController.cpp +++ b/application/LaunchController.cpp @@ -22,12 +22,6 @@ LaunchController::LaunchController(QObject *parent) : Task(parent) } void LaunchController::executeTask() -{ - login(); -} - -// FIXME: minecraft specific -void LaunchController::login() { if (!m_instance) { @@ -35,6 +29,12 @@ void LaunchController::login() return; } + login(); +} + +// FIXME: minecraft specific +void LaunchController::login() +{ JavaCommon::checkJVMArgs(m_instance->settings()->get("JvmArgs").toString(), m_parentWidget); // Find an account to use. -- cgit v1.2.3