aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmlcompiler/qqmljscompiler.cpp
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2020-10-14 20:44:39 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2020-10-27 00:47:05 +0200
commite783ef04fbbaa9a53121a6f575414b48043a10d2 (patch)
tree092412514fbe8373a49061021dea4d64e2926a2d /src/qmlcompiler/qqmljscompiler.cpp
parent319c21e6117f1fdb06d82c1201f5d0001e3aeb48 (diff)
Deal with QEvent::setAccepted() calling QEventPoint::setAccepted()
Traditionally, a QQuickItem subclass could override touchEvent(); if the event is still accepted when it returns, that meant the item handled all the points, so completely that the item should get an implicit grab of those points, and they should not be delivered further to any other items underneath. But it's often not so simple in multi-touch UIs, which is why each QEventPoint has its own accept flag. QPointerEvent::setAccepted() now iterates the points and calls QEventPoint::setAccepted() on each; so QQuickWindow doesn't need to do anything to make that happen anymore. Change-Id: Idbe7abf278411ee2fea598c1a1939f4bdb214aa0 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/qmlcompiler/qqmljscompiler.cpp')
0 files changed, 0 insertions, 0 deletions