Summary: | IMDB rating are sorted incorrectly and not integer rating values are not shown (no stars shown) | ||
---|---|---|---|
Product: | [Applications] tellico | Reporter: | Alessandro Russo <axela74> |
Component: | general | Assignee: | Robby Stephenson <robby> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 3.0.2 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/tellico/8cc6308aec884b016589775e9fc085762c60c6cc | Version Fixed In: | 3.1 |
Sentry Crash Report: |
Description
Alessandro Russo
2017-09-10 08:08:33 UTC
Git commit 798a1c90a8a72eb07da36faead592e56b2a79bea by Robby Stephenson. Committed on 10/09/2017 at 21:21. Pushed by rstephenson into branch 'master'. Round the float value for star ratings in the view delegate Ratings can have decimal values and were converting to 0. Use qRound with toFloat() to properly handle them. M +4 -0 ChangeLog M +1 -1 src/gui/ratingdelegate.cpp M +2 -2 src/gui/starrating.h https://commits.kde.org/tellico/798a1c90a8a72eb07da36faead592e56b2a79bea Git commit 8cc6308aec884b016589775e9fc085762c60c6cc by Robby Stephenson. Committed on 10/09/2017 at 21:44. Pushed by rstephenson into branch 'master'. Fix bug when rounding difference of floats when < 0.5. FIXED-IN: 3.1 M +1 -0 ChangeLog M +5 -3 src/models/stringcomparison.cpp M +4 -0 src/tests/comparisontest.cpp https://commits.kde.org/tellico/8cc6308aec884b016589775e9fc085762c60c6cc |