diff options
author | Andreas Kling <andreas.kling@nokia.com> | 2010-10-07 08:09:23 (GMT) |
---|---|---|
committer | Andreas Kling <andreas.kling@nokia.com> | 2010-10-08 08:07:26 (GMT) |
commit | 69ae7469eebda30dbf430ca67d193a62969f516c (patch) | |
tree | a767a0f7baf7ad538ab879df8bfd6e0bc6272034 /src/gui/painting/qregion_win.cpp | |
parent | f3fcb5b2ec2f8a16e93074e68e9f2aa2604b4ac3 (diff) | |
download | Qt-69ae7469eebda30dbf430ca67d193a62969f516c.zip Qt-69ae7469eebda30dbf430ca67d193a62969f516c.tar.gz Qt-69ae7469eebda30dbf430ca67d193a62969f516c.tar.bz2 |
QGradientCache: Optimize choosing of which gradient to evict from cache
Use iterator arithmetic instead of QMultiHash::keys() to remove a random
gradient color table from the cache.
Reviewed-by: Samuel Rødal
Diffstat (limited to 'src/gui/painting/qregion_win.cpp')
0 files changed, 0 insertions, 0 deletions