diff options
Diffstat (limited to 'logic/OneSixUpdate.cpp')
-rw-r--r-- | logic/OneSixUpdate.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/logic/OneSixUpdate.cpp b/logic/OneSixUpdate.cpp index 44314e1e..b32e833c 100644 --- a/logic/OneSixUpdate.cpp +++ b/logic/OneSixUpdate.cpp @@ -64,7 +64,8 @@ void OneSixUpdate::executeTask() checker.reset(new JavaChecker()); connect(checker.get(), SIGNAL(checkFinished(JavaCheckResult)), this, SLOT(checkFinishedOffline(JavaCheckResult))); - checker->performCheck(java_path); + checker->path = java_path; + checker->performCheck(); return; } @@ -95,7 +96,8 @@ void OneSixUpdate::checkJavaOnline() checker.reset(new JavaChecker()); connect(checker.get(), SIGNAL(checkFinished(JavaCheckResult)), this, SLOT(checkFinishedOnline(JavaCheckResult))); - checker->performCheck(java_path); + checker->path = java_path; + checker->performCheck(); } void OneSixUpdate::checkFinishedOnline(JavaCheckResult result) |