Summary: | ktorrent uses different numbers for share ratio in different places | ||
---|---|---|---|
Product: | [Applications] ktorrent | Reporter: | Michael Skiba <opensource> |
Component: | general | Assignee: | Joris Guisson <joris.guisson> |
Status: | RESOLVED FIXED | ||
Severity: | minor | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | ktorrent showing different share ratios |
Description
Michael Skiba
2012-04-11 21:10:41 UTC
Created attachment 70321 [details]
ktorrent showing different share ratios
It seems we are using a floating point comparison factor of 0.01 to determine if the view needs to be updated. Need to make that 0.001 and it will be the same for both. Git commit 053920c23924e76549dcc20d79dcfb965e10958f by Joris Guisson. Committed on 12/04/2012 at 19:42. Pushed by guisson into branch 'master'. Make float comparison factor smaller in ViewModel when checking if share ratio has changed M +1 -0 ChangeLog M +2 -2 ktorrent/view/viewmodel.cpp http://commits.kde.org/ktorrent/053920c23924e76549dcc20d79dcfb965e10958f |