Skip to content

Commit 1073f4d

Browse files
oKcerGQt Cherry-pick Bot
authored andcommitted
doc: fix reference to nonexistent DragHandler.SnapNever
The documentation mentions SnapNever as a value for DragHandler SnapMode The correct value is NoSnap. Amends f228af0 Pick-to: 6.7 6.5 6.2 5.15 Change-Id: I240d63b5ac989d37f2b7a611cab75ccd4bab2368 Reviewed-by: Shawn Rutledge <[email protected]> (cherry picked from commit 33b99d6) Reviewed-by: Qt Cherry-pick Bot <[email protected]>
1 parent 4897e03 commit 1073f4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/quick/handlers/qquickdraghandler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ void QQuickDragHandler::onGrabChanged(QQuickPointerHandler *grabber, QPointingDe
9999
The snap mode configures snapping of the \l target item's center to the \l eventPoint.
100100
101101
Possible values:
102-
\value DragHandler.SnapNever Never snap
102+
\value DragHandler.NoSnap Never snap
103103
\value DragHandler.SnapAuto The \l target snaps if the \l eventPoint was pressed outside of the \l target
104104
item \e and the \l target is a descendant of \l {PointerHandler::}{parent} item (default)
105105
\value DragHandler.SnapWhenPressedOutsideTarget The \l target snaps if the \l eventPoint was pressed outside of the \l target

0 commit comments

Comments
 (0)