Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.13.0 Alpha 1
-
None
Description
There is a mistake in the third example of DragHandler QML Type. centroid has a property position, but doesn't have property called centroid.
Incorrect
text: handler.centroid.centroid.x.toFixed(1) + "," + handler.centroid.position.y.toFixed(1)
Correct
text: handler.centroid.position.x.toFixed(1) + "," + handler.centroid.position.y.toFixed(1)
Attachments
For Gerrit Dashboard: QTBUG-73900 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
253786,2 | Doc: Fix a code snippet in DragHandler QML type | 5.13 | qt/qtdeclarative | Status: MERGED | +2 | 0 |