From b5b46f398c1a04ab443bf22ec08c5efbf72c161e Mon Sep 17 00:00:00 2001 From: Alan Alpert Date: Thu, 1 Mar 2012 20:09:52 +1000 Subject: Add a hidden XandYAxis enum value For Qt 5 XandYAxis is being renamed to XAndYAxis to more consistently follow capitalization rules. Add an undocumented XandYAxis variable to ease porting. Change-Id: Id9e41dd5578373f5f557937da889a9326ff12e53 Reviewed-by: Martin Jones --- examples/quick/animation/behaviors/wigglytext.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/quick/animation/behaviors') diff --git a/examples/quick/animation/behaviors/wigglytext.qml b/examples/quick/animation/behaviors/wigglytext.qml index 13d04d539c..1bafebcebc 100644 --- a/examples/quick/animation/behaviors/wigglytext.qml +++ b/examples/quick/animation/behaviors/wigglytext.qml @@ -96,7 +96,7 @@ Rectangle { MouseArea { anchors.fill: parent - drag.target: letter; drag.axis: Drag.XandYAxis + drag.target: letter; drag.axis: Drag.XAndYAxis onPressed: letter.color = "#dddddd" onReleased: letter.color = "#999999" } -- cgit v1.2.3