diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-06-21 13:21:12 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-06-21 13:42:39 +0000 |
commit | 08e0963e0862726feaa10c09b0e3b401c89b9224 (patch) | |
tree | 8cdfe732c9e4898e36d309593d9d652cc47544fa /src/tools/qdoc/qmlparser/qqmljsengine_p.h | |
parent | e4750177536d096221a50d221124a4f1047a5456 (diff) |
QGestureManager: fix expensive iteration over QHash::keys()
... with iteration over the hash itself.
gesturesByType is a local variable, so there's no way
functions called in the loop can modify it.
This dividing operation would greatly benefit from
a splice operation in QHash...
Change-Id: Ifd241d2da9c6998c2ad0b08294fca84d5b188d0f
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/tools/qdoc/qmlparser/qqmljsengine_p.h')
0 files changed, 0 insertions, 0 deletions