[Kmymoney-devel] [Bug 240629] Progress bar does not reach 100% but count does

Vincent Ordy vincent at ordy.net
Mon Jun 21 05:30:54 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=240629





--- Comment #1 from Vincent Ordy <vincent ordy net>  2010-06-21 05:30:53 ---
Created an attachment (id=48176)
 --> (http://bugs.kde.org/attachment.cgi?id=48176)
proposed patch

- set progressbar value to 0 after a reset (reset() sets it to -1, which is
invalid and cause this bug)
- increment the progressbar value only when appropriate.  Some elements like
<budgets> do not initialize the progressbar, but the progressbar value was
incremented => the value become greater than the maximum => the progressbar is
reset by Qt.
- remove useless resets

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list