projects
/
platform
/
framework
/
web
/
wrt-installer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d388e35
)
Fixed wrong percent send to pkgmgr
author
Soyoung Kim
<sy037.kim@samsung.com>
Tue, 30 Apr 2013 10:58:01 +0000
(19:58 +0900)
committer
Gerrit Code Review
<gerrit2@kim11>
Tue, 30 Apr 2013 11:04:59 +0000
(20:04 +0900)
[Issue#] N/A
[Problem] send over percent to pkgmgr
[Cause] wrong calculate percent.
[Solution] fixed caluate percent.
[SCMRequest] N/A
Change-Id: I786ef375e5de4e53de8fe63ea3fed4b19b33f302
src/jobs/job_base.h
patch
|
blob
|
history
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;
}