Enable touch events on Mac for PinchArea
authorShawn Rutledge <shawn.rutledge@digia.com>
Fri, 3 May 2013 11:47:42 +0000 (13:47 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 3 May 2013 14:17:41 +0000 (16:17 +0200)
commit885f325196de48493a604c6d13e3f360e4fefba3
tree1810c2cd87bb348f4e46e6b661ad9bc583355ed1
parent03f0c55799e671d8800ef3727f71162766e103d1
Enable touch events on Mac for PinchArea

Enabling touch events on a window causes scroll event
lag so we want to avoid avoid it as far as possible.

Enable/disable on scene changes, similar to what we do with
WA_AcceptTouchEvents for widgets, and in change
I2e5b5e2b093cccfc5253f7228f5ec0c588c60371 for MultiPointTouchArea.

Change-Id: I8cd8d172ffd93cfc4ec115917cc8662202f3b069
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
src/quick/items/qquickpincharea.cpp
src/quick/items/qquickpincharea_p.h