summaryrefslogtreecommitdiffstats
path: root/logic/JavaChecker.cpp
diff options
context:
space:
mode:
authorSky <git@bunnies.cc>2014-01-07 03:16:47 +0000
committerSky <git@bunnies.cc>2014-01-07 03:16:47 +0000
commit5fe0ed7e8fad7654f9fe61669e596fe74bac8740 (patch)
treeda856ba43a437caf546d8a2b9e03c15ce5430b93 /logic/JavaChecker.cpp
parent012b007e56c8121e5dc6434765f16647edd23585 (diff)
downloadMultiMC-5fe0ed7e8fad7654f9fe61669e596fe74bac8740.tar
MultiMC-5fe0ed7e8fad7654f9fe61669e596fe74bac8740.tar.gz
MultiMC-5fe0ed7e8fad7654f9fe61669e596fe74bac8740.tar.lz
MultiMC-5fe0ed7e8fad7654f9fe61669e596fe74bac8740.tar.xz
MultiMC-5fe0ed7e8fad7654f9fe61669e596fe74bac8740.zip
Return a properly sorted list of checked javas
Diffstat (limited to 'logic/JavaChecker.cpp')
-rw-r--r--logic/JavaChecker.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/logic/JavaChecker.cpp b/logic/JavaChecker.cpp
index 113974ff..a470bfa2 100644
--- a/logic/JavaChecker.cpp
+++ b/logic/JavaChecker.cpp
@@ -47,6 +47,7 @@ void JavaChecker::finished(int exitcode, QProcess::ExitStatus status)
JavaCheckResult result;
{
result.path = path;
+ result.id = id;
}
if (status == QProcess::CrashExit || exitcode == 1)
@@ -104,6 +105,7 @@ void JavaChecker::error(QProcess::ProcessError err)
JavaCheckResult result;
{
result.path = path;
+ result.id = id;
}
emit checkFinished(result);