diff options
| author | Sky <git@bunnies.cc> | 2014-01-07 03:16:47 +0000 |
|---|---|---|
| committer | Sky <git@bunnies.cc> | 2014-01-07 03:16:47 +0000 |
| commit | 5fe0ed7e8fad7654f9fe61669e596fe74bac8740 (patch) | |
| tree | da856ba43a437caf546d8a2b9e03c15ce5430b93 /logic/lists | |
| parent | 012b007e56c8121e5dc6434765f16647edd23585 (diff) | |
| download | PrismLauncher-5fe0ed7e8fad7654f9fe61669e596fe74bac8740.tar.gz PrismLauncher-5fe0ed7e8fad7654f9fe61669e596fe74bac8740.tar.bz2 PrismLauncher-5fe0ed7e8fad7654f9fe61669e596fe74bac8740.zip | |
Return a properly sorted list of checked javas
Diffstat (limited to 'logic/lists')
| -rw-r--r-- | logic/lists/JavaVersionList.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/logic/lists/JavaVersionList.cpp b/logic/lists/JavaVersionList.cpp index e8c5acd0..eb1c5650 100644 --- a/logic/lists/JavaVersionList.cpp +++ b/logic/lists/JavaVersionList.cpp @@ -182,13 +182,17 @@ void JavaListLoadTask::executeTask() connect(m_job.get(), SIGNAL(progress(int, int)), this, SLOT(checkerProgress(int, int))); QLOG_DEBUG() << "Probing the following Java paths: "; + int id = 0; for(QString candidate : candidate_paths) { QLOG_DEBUG() << " " << candidate; auto candidate_checker = new JavaChecker(); candidate_checker->path = candidate; + candidate_checker->id = id; m_job->addJavaCheckerAction(JavaCheckerPtr(candidate_checker)); + + id++; } m_job->start(); |
