diff options
author | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2009-10-15 16:45:13 (GMT) |
---|---|---|
committer | Gabriel de Dietrich <gabriel.dietrich-de@nokia.com> | 2009-10-15 20:03:51 (GMT) |
commit | 8ef83e60df0291ba2a36cc744e1f0c11f465f1e2 (patch) | |
tree | 15c5e1d40451e5a3a6cb81bc972a4a88fdfeff46 /src/opengl | |
parent | bdc951eb87e0b1aa752d3ec750cfd837714bd8b7 (diff) | |
download | Qt-8ef83e60df0291ba2a36cc744e1f0c11f465f1e2.zip Qt-8ef83e60df0291ba2a36cc744e1f0c11f465f1e2.tar.gz Qt-8ef83e60df0291ba2a36cc744e1f0c11f465f1e2.tar.bz2 |
Fixed a rare crash in qt_x11_enforce_cursor
A QPointer was set to point to a QWidget by one of its children, during its
deletion. This happens during the child deletion, and after the call to
QObject::clearGuards(), which means that the QPointer becomes a dangling one.
The fix ensures that qt_x11_enforce_cursor will not be called with a
being-deleted QWidget. The included auto-test doesn't test anything, except
that it doesn't crash.
Reviewed-by: Olivier
Diffstat (limited to 'src/opengl')
0 files changed, 0 insertions, 0 deletions