From 80dd824864df17bb1293a4438325f2b20306861b Mon Sep 17 00:00:00 2001 From: Alberto Mardegan Date: Thu, 5 Jul 2012 18:10:34 +0400 Subject: MouseArea: use current value of drag.axis If the drag.axis is changed while a drag operation is in progress, put it into action immediately. This allows, for example, start a dragging operation out of an item in a scrollable ListView to anywhere on the screen. See the linked bug number for an example. Task-number: QTBUG-26440 Change-Id: Id4219d44d1066dd962319086ac1f2a2a75bb2525 Reviewed-by: Damian Jansen Reviewed-by: Martin Jones --- src/quick/items/qquickmousearea_p_p.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/quick/items/qquickmousearea_p_p.h') diff --git a/src/quick/items/qquickmousearea_p_p.h b/src/quick/items/qquickmousearea_p_p.h index aa28da88bc..743cf9ee8c 100644 --- a/src/quick/items/qquickmousearea_p_p.h +++ b/src/quick/items/qquickmousearea_p_p.h @@ -89,8 +89,6 @@ public: bool hovered : 1; bool longPress : 1; bool moved : 1; - bool dragX : 1; - bool dragY : 1; bool stealMouse : 1; bool doubleClick : 1; bool preventStealing : 1; -- cgit v1.2.3