A long press should allow onClicked if there is no onPressAndHold
authorMartin Jones <martin.jones@nokia.com>
Tue, 26 Jul 2011 06:28:19 +0000 (16:28 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 26 Jul 2011 07:37:52 +0000 (09:37 +0200)
commit83eb5ba0082cee15a5ca01000084c07fdb19af76
treee2648984a93e5c967544aec495c15a02c41d13a7
parent3870e1478b64627f247fe1aa482d50a4367c0523
A long press should allow onClicked if there is no onPressAndHold

Fixes: QTBUG-19726

Change-Id: I896c9264c1cf408dcd533b5d6d463d53c785d787
Reviewed-on: http://codereview.qt.nokia.com/2155
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
src/declarative/items/qsgmousearea.cpp
tests/auto/declarative/qsgmousearea/data/noclickandhold.qml [new file with mode: 0644]
tests/auto/declarative/qsgmousearea/tst_qsgmousearea.cpp