[umbrello-devel] [umbrello] [Bug 341482] New: umbrello-4.14.3/umbrello/widgets/associationline.cpp:862: bad call to abs ?

dcb314 at hotmail.com dcb314 at hotmail.com
Tue Dec 2 09:51:07 UTC 2014


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

            Bug ID: 341482
           Summary: umbrello-4.14.3/umbrello/widgets/associationline.cpp:8
                    62: bad call to abs ?
           Product: umbrello
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: umbrello-devel at kde.org
          Reporter: dcb314 at hotmail.com

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list