Fix the name of the arguments of qAtan2 to match std::atan2
authorThiago Macieira <thiago.macieira@intel.com>
Fri, 31 Aug 2012 09:53:34 +0000 (11:53 +0200)
committerQt by Nokia <qt-info@nokia.com>
Fri, 31 Aug 2012 14:10:25 +0000 (16:10 +0200)
commit9aa67cf0c48ff8e9e73fc19c4dcd950961b5ad54
tree767616f33dcb191df4e9a7688457e836a11c8c1b
parent0a0157f5459ba61b5978fea90cad486757da3590
Fix the name of the arguments of qAtan2 to match std::atan2

There is no change in functionality, just swapping of the names x and y.
The std::atan2 function uses (y, x) in that order, so we should too.

Task-number: QTBUG-27090
Change-Id: I7d4597a6c6909f574c517033f5d49fe17b7a7ead
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
src/corelib/kernel/qmath.h
src/corelib/kernel/qmath.qdoc