diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-06-22 12:05:06 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-06-22 12:05:06 (GMT) |
commit | f31240c216e19fe02547f078608fa8c0a2aaca7d (patch) | |
tree | b4e2892db50e933107a802231deb758ca4edd62b /src/corelib/global/qnamespace.h | |
parent | c46031639094f41d7b345dcab1c02eda283e9fdd (diff) | |
download | Qt-f31240c216e19fe02547f078608fa8c0a2aaca7d.zip Qt-f31240c216e19fe02547f078608fa8c0a2aaca7d.tar.gz Qt-f31240c216e19fe02547f078608fa8c0a2aaca7d.tar.bz2 |
Don't crash in the fingerpaint example if the touch id gets too large
Some touch devices don't recycle touch id's, so for longer sequences we could easily see
ids that become larger than the color list size. Make sure we constrain the index we use.
Diffstat (limited to 'src/corelib/global/qnamespace.h')
0 files changed, 0 insertions, 0 deletions