diff options
author | Jason Barron <jbarron@trolltech.com> | 2010-02-04 09:53:05 (GMT) |
---|---|---|
committer | Jason Barron <jbarron@trolltech.com> | 2010-02-04 14:10:46 (GMT) |
commit | 56d1da45bc15989542fe3621c9c9de444219729c (patch) | |
tree | 76b309a829027aff9bf59cf92d3863b012c7e07d /src/gui/kernel/qcursor_qws.cpp | |
parent | 94abb3ee93aa09f79640e14fed89b286c57ce05c (diff) | |
download | Qt-56d1da45bc15989542fe3621c9c9de444219729c.zip Qt-56d1da45bc15989542fe3621c9c9de444219729c.tar.gz Qt-56d1da45bc15989542fe3621c9c9de444219729c.tar.bz2 |
Fix crash when multiple screens are reported from HAL.
The support for multiple screens is not implemented yet in Qt on the
Symbian platform, so there is really no need to query the HAL for the
value since the additional screens can't be used yet anyway. The crash
here occured when the HAL returned more than 1 screen, but the arrays
were resized to contain one element. The loop in resizeEvent() was
iterating past the end of the array because it thought there were more
screens than the arrays did.
Reviewed-by: axis
Diffstat (limited to 'src/gui/kernel/qcursor_qws.cpp')
0 files changed, 0 insertions, 0 deletions