diff options
author | Shawn Rutledge <shawn.rutledge@qt.io> | 2016-08-23 16:26:30 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2016-08-24 14:28:12 +0000 |
commit | 5df47067e21eb0cd0cf1eed9ed7cb3d857c1f42a (patch) | |
tree | 6e5d4bd3f60cb8f0223d24190b718aaba91aac1e /src/quick/items/qquickwindow_p.h | |
parent | be763508cf45e34970c9969b49d974061bdb6c92 (diff) |
optimize QQuickWindowPrivate::deliverUpdatedTouchPoints() slightly
Avoid doing qmlobject_cast twice: if it fails in one case, we know
that the type must be the other one. The grabber must be either
an item or a handler.
Change-Id: Ie557a67963654acb006a1a3543837ea669709a23
Reviewed-by: Jan Arve Sæther <jan-arve.saether@theqtcompany.com>
Diffstat (limited to 'src/quick/items/qquickwindow_p.h')
0 files changed, 0 insertions, 0 deletions