Prevent a crash when hiding a window on Mac OS X 10.7 or later
authorAndy Shaw <andy.shaw@digia.com>
Tue, 18 Dec 2012 21:10:58 +0000 (22:10 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 14 Jan 2013 21:00:41 +0000 (22:00 +0100)
commit05f5df11fb8041d44502a8ef8eb2674155fc6047
tree3c9a16b070cd492495d224a16dc4bcd82f8ea310
parenta17fc85b51a6bdcfa33dcff183d2b7efd667fb92
Prevent a crash when hiding a window on Mac OS X 10.7 or later

If a tool window is ordered out when there is a full screen widget
around then it would cause a crash because of a new animation from
Lion. This seems to be provoked by the fact that we are faking the
fullscreen functionality in Qt.

Change-Id: I07cdfddc6c2bb766df7809912fb97c4f1ba8873b
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
src/gui/kernel/qwidget_mac.mm