aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickmousearea_p_p.h
diff options
context:
space:
mode:
authorFilippo Cucchetto <filippocucchetto@gmail.com>2016-06-02 21:49:37 +0200
committerFilippo Cucchetto <filippocucchetto@gmail.com>2016-06-03 10:32:33 +0000
commit7039db4885a143f8f1d363c9b71665e9160d3d55 (patch)
tree6a16ec159237081e60b10241257bea06d12d5bc0 /src/quick/items/qquickmousearea_p_p.h
parent38b11b7b52b418629ff2d245dad70edf20eb520c (diff)
Revert removal of "Fixed MouseArea threshold with preventStealing"
This reverts commit 9c8dab537819f0d999e680490c2d125b8836cbbb where commit e1400b5b4d8311769ad3b9f631479ee2b0271197 was removed due to the breakage of QtLocation tests. After some hours of debugging it seems that the problem in QtLocation was due to filtering of mouse move events in QDeclarativeGeoMapItemBase. See QTBUG-52075 Task-number: QTBUG-52534 Change-Id: I00f002c1d6f60f74a148b5a6ac2b9f63e93718a9 Reviewed-by: Paolo Angelelli <paolo.angelelli@theqtcompany.com> Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com>
Diffstat (limited to 'src/quick/items/qquickmousearea_p_p.h')
-rw-r--r--src/quick/items/qquickmousearea_p_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quick/items/qquickmousearea_p_p.h b/src/quick/items/qquickmousearea_p_p.h
index 014729b651..f63c5f6092 100644
--- a/src/quick/items/qquickmousearea_p_p.h
+++ b/src/quick/items/qquickmousearea_p_p.h
@@ -86,6 +86,7 @@ public:
bool doubleClick : 1;
bool preventStealing : 1;
bool propagateComposedEvents : 1;
+ bool overThreshold : 1;
Qt::MouseButtons pressed;
#ifndef QT_NO_DRAGANDDROP
QQuickDrag *drag;