| Summary: | umbrello-4.14.3/umbrello/widgets/associationline.cpp:862: bad call to abs ? | ||
|---|---|---|---|
| Product: | [Applications] umbrello | Reporter: | dcb314 |
| Component: | general | Assignee: | Umbrello Development Group <umbrello-devel> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | http://commits.kde.org/umbrello/f4a950262f9542e9ce6447393b54a0b6f9f97b6e | Version Fixed/Implemented In: | 2.15.0 (KDE 14.12.0) |
| Sentry Crash Report: | |||
Git commit f510078525a8aa1e2cc1866824fd159b0db2a49b by Ralf Habacker. Committed on 02/12/2014 at 09:56. Pushed by habacker into branch 'Applications/14.12'. Fix warning: 'Using integer absolute value function 'abs' when argument is of floating point type'. FIXED-IN:2.15.0 (KDE 14.12.0) M +2 -2 umbrello/widgets/associationline.cpp http://commits.kde.org/umbrello/f510078525a8aa1e2cc1866824fd159b0db2a49b Git commit f4a950262f9542e9ce6447393b54a0b6f9f97b6e by Ralf Habacker. Committed on 02/12/2014 at 09:56. Pushed by habacker into branch 'work/73847'. Fix warning: 'Using integer absolute value function 'abs' when argument is of floating point type'. FIXED-IN:2.15.0 (KDE 14.12.0) M +2 -2 umbrello/widgets/associationline.cpp http://commits.kde.org/umbrello/f4a950262f9542e9ce6447393b54a0b6f9f97b6e |
umbrello-4.14.3/umbrello/widgets/associationline.cpp:862:24: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value] qreal deltaX = abs(start.x() - end.x()); qreal deltaY = abs(start.y() - end.y()); Maybe fabs would be better. Reproducible: Always