Correct double, triple click handling in canvas when in touch mode
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>
Sat, 24 Mar 2012 08:03:58 +0000 (10:03 +0200)
committerQt by Nokia <qt-info@nokia.com>
Sun, 25 Mar 2012 23:42:01 +0000 (01:42 +0200)
commitea9ffebecd29887ad44b952ab02824072af6bb32
tree2258ec121bb96b930bdf484763568e09ba402a99
parent97786226957f01b60134228bdaa8fb2c5d0f1628
Correct double, triple click handling in canvas when in touch mode

The correct MouseArea signal sequence for a triple click is press,
release, click, press, doubleclick, release, press, release, click.
However QQuickCanvas sent the doubleclick before the press and did not
reset the timestamp of the last press, resulting in a sequence with
multiple doubleclicks and missing press signals.

Change-Id: Ied5f3ea93d3ad28128ce7db5c8190ab48961da6d
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/quick/items/qquickcanvas.cpp