projects
/
framework
/
web
/
wrt-installer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[Release] wrt-installer_0.1.53
[framework/web/wrt-installer.git]
/
src
/
jobs
/
job_base.h
diff --git
a/src/jobs/job_base.h
b/src/jobs/job_base.h
index
c2ed1d8
..
bb0bbf1
100644
(file)
--- a/
src/jobs/job_base.h
+++ b/
src/jobs/job_base.h
@@
-59,7
+59,7
@@
class JobProgressBase
ProgressDescription const &description)
{
m_progresPercent =
- ((static_cast<ProgressPercent>(step)
+ 1.0
) /
+ ((static_cast<ProgressPercent>(step)) /
static_cast<ProgressPercent>(lastElement)) * 100;
m_progresDescription = description;
}