summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qnamespace.h
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2009-06-22 12:05:06 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-06-22 12:05:06 (GMT)
commitf31240c216e19fe02547f078608fa8c0a2aaca7d (patch)
treeb4e2892db50e933107a802231deb758ca4edd62b /src/corelib/global/qnamespace.h
parentc46031639094f41d7b345dcab1c02eda283e9fdd (diff)
downloadQt-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