From b0dbd4f4afcf60e4021cbb3218bfe280c4989859 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 8 Dec 2013 22:06:04 +0100 Subject: Fix offline mode bugs --- logic/OneSixUpdate.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'logic/OneSixUpdate.h') diff --git a/logic/OneSixUpdate.h b/logic/OneSixUpdate.h index 5fd2c59f..7ff9d881 100644 --- a/logic/OneSixUpdate.h +++ b/logic/OneSixUpdate.h @@ -43,8 +43,9 @@ slots: void jarlibFinished(); void jarlibFailed(); - void checkJava(); - void checkFinished(JavaCheckResult result); + void checkJavaOnline(); + void checkFinishedOnline(JavaCheckResult result); + void checkFinishedOffline(JavaCheckResult result); // extract the appropriate libraries void prepareForLaunch(); @@ -56,7 +57,7 @@ private: // target version, determined during this task std::shared_ptr targetVersion; BaseInstance *m_inst = nullptr; - bool m_prepare_for_launch = false; + bool m_only_prepare = false; std::shared_ptr checker; bool java_is_64bit = false; -- cgit v1.2.3