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

--- Comment #9 from Weng Xuetian <wen...@gmail.com> ---
Git commit efb14cb69ad53bcdb4f3f7b4f2439183d27ebb05 by Weng Xuetian.
Committed on 04/12/2015 at 16:19.
Pushed by xuetianweng into branch 'master'.

Refactor and fix the feature introduced in bug 171343

1. Enable this feature only if half step is enabled. Otherwise user can
only select full star, there is no point enable this feature.
2. Fix and merge the logic, especially for the part in mouseMoveEvent.
Previously mouseMoveEvent is calculating the new rating based on current
hover rating, which should use the current rating instead. And the logic
is hard for people to interpret without comment. Thus, this part of code
is refactored to be simpler and more readable with comment.

REVIEW: 126222

M  +2    -2    src/kratingpainter.cpp
M  +35   -32   src/kratingwidget.cpp

http://commits.kde.org/kwidgetsaddons/efb14cb69ad53bcdb4f3f7b4f2439183d27ebb05

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to