Fix checker progress derp
This commit is contained in:
parent
26a7544325
commit
3e8e0dd639
1 changed files with 1 additions and 1 deletions
|
@ -201,7 +201,7 @@ void JavaListLoadTask::executeTask()
|
||||||
|
|
||||||
void JavaListLoadTask::checkerProgress(int current, int total)
|
void JavaListLoadTask::checkerProgress(int current, int total)
|
||||||
{
|
{
|
||||||
float progress = (current * 100.0) / (current + total);
|
float progress = (current * 100.0) / total;
|
||||||
this->setProgress((int) progress);
|
this->setProgress((int) progress);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue