diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2015-06-21 12:37:37 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2015-06-21 11:44:31 +0000 |
commit | 3045ac99f296b866b25df318f13726d8f64494e8 (patch) | |
tree | 2fcfd26e1af4768e97a6c1b532f4b8f67d9df7b9 /src/testlib | |
parent | 8a25f888e947d406f69759b51732bdfc041d5707 (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.
Change-Id: I5971c404f4ae8473d4926b68eb7a9c60801f208d
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'src/testlib')
0 files changed, 0 insertions, 0 deletions