Carbon: crash problem in QWidgetPrivate::hide_sys
commitf842ec12706b70f94ab5f634dc2aa025ba2cf3f2
authorRichard Moe Gustavsen <richard.gustavsen@nokia.com>
Fri, 29 Jan 2010 09:49:14 +0000 (29 10:49 +0100)
committerRichard Moe Gustavsen <richard.gustavsen@nokia.com>
Fri, 29 Jan 2010 09:52:35 +0000 (29 10:52 +0100)
tree49b70c66a8d5deb952e69238d3ae1790bbd4c2a2
parentc2e53adcb015e142436127f989b0f219df7ade36
Carbon: crash problem in QWidgetPrivate::hide_sys

The crash occurs because we at one point try to assign a widget that
is marked as 'about to be deleted' to a QPointer, after clearguards
has been called. The correct fix is to avoid such an assignment in
the first place.

Task-number: QTBUG-4227
Reviewed-by: Prasanth
src/gui/kernel/qwidget_mac.mm