D10367: Fix color bar painting failures in statistics main window
Hartmut Riesenbeck
noreply at phabricator.kde.org
Wed Feb 7 17:14:17 UTC 2018
hriesenbeck created this revision.
hriesenbeck added a reviewer: KDE Edu.
Restricted Application added a project: KDE Edu.
hriesenbeck requested review of this revision.
REVISION SUMMARY
Some color bars of the bar chart in LessonStatisticsView are not drawn
to its full length. The reason are rounding errors in bar segment length
calculation. To fix this, all integer values were replaced by floating
point variables.
Furthermore sometimes the border line between two bar segments was not
drawn when constructed with QPainterPath. The relevant QPainterPath
operation were replaced by direct drawing operations to the QPainter
object.
BUG: 389998
REPOSITORY
R340 Parley
BRANCH
fix_color_bar_for_review
REVISION DETAIL
https://phabricator.kde.org/D10367
AFFECTED FILES
src/utils.cpp
To: hriesenbeck, #kde_edu
Cc: narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20180207/1cd8eb59/attachment.html>
More information about the kde-edu
mailing list