summaryrefslogtreecommitdiff
path: root/qmake
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2017-12-16 19:19:38 +0100
committerMarc Mutz <marc.mutz@kdab.com>2019-06-04 15:12:09 +0200
commitdea7110b29c5c68a5b09454c968324042ed1b607 (patch)
tree8a1383ba709db4259d6329765fe28348d2d17bf0 /qmake
parent2596a8a55ce3c9532701c2cf1f353b93df4bd893 (diff)
downloadqtbase-dea7110b29c5c68a5b09454c968324042ed1b607.tar.gz
QGestureManager: clean up cleanupCachedGestures()
- use logarithmic QMap::find() instead of iterate-and-compare-with-key (linear) - don't convert a QList to a QSet just to use QSet -=, just iterate over QSet::remove(): QSet::subtract() doesn't do anything more fancy, either (saves memory allocations) - replace Q_FOREACH with ranged-for, avoid copies Change-Id: I451f034767b079efa9ee19e2c1fe7dc4af2d9bea Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'qmake')
0 files changed, 0 insertions, 0 deletions