QQuickEvents: Fix documentation of types for MouseEvent and WheelEvent x/y

These types are qreal, not int.

Change-Id: I26569c40825ce098ea095b3d9dc9b84eb3870c02
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
This commit is contained in:
Robin Burchell 2017-03-19 18:47:31 +01:00
parent 71cd0a58c0
commit ddb1b8f226
1 changed files with 4 additions and 4 deletions

View File

@ -193,8 +193,8 @@ Item {
*/
/*!
\qmlproperty int QtQuick::MouseEvent::x
\qmlproperty int QtQuick::MouseEvent::y
\qmlproperty real QtQuick::MouseEvent::x
\qmlproperty real QtQuick::MouseEvent::y
These properties hold the coordinates of the position supplied by the mouse event.
*/
@ -340,8 +340,8 @@ Item {
*/
/*!
\qmlproperty int QtQuick::WheelEvent::x
\qmlproperty int QtQuick::WheelEvent::y
\qmlproperty real QtQuick::WheelEvent::x
\qmlproperty real QtQuick::WheelEvent::y
These properties hold the coordinates of the position supplied by the wheel event.
*/