Return a properly sorted list of checked javas

This commit is contained in:
Sky
2014-01-07 03:16:47 +00:00
parent 012b007e56
commit 5fe0ed7e8f
4 changed files with 11 additions and 4 deletions

View File

@@ -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);