diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2012-03-23 12:53:35 +0100 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-26 11:41:07 +0200 |
commit | a9c49816a7008cf6e181fe66d7644a64c10faf17 (patch) | |
tree | 92347757c5419bec0f82da4a1e10ef15bb863881 /src/plugins/platforms/cocoa/qcocoabackingstore.mm | |
parent | d8508b813950cad79600acb49ef5bef837f04934 (diff) |
Cocoa: QCocoaWindow::clearNSWindow() needs to cleanup properly
clearNSWindow() should also clear the delegate and remove the
contentView from the window, since we are no longer using that window.
Make sure the QCocoaWindow::~QCocoaWindow() doesn't release the
m_contentView until after clearNSWindow(), to avoid crashes while
trying to cleanup the window and view.
Change-Id: Ia081488f629a4fd4cf10fb1053fb8183b1914d35
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
Diffstat (limited to 'src/plugins/platforms/cocoa/qcocoabackingstore.mm')
0 files changed, 0 insertions, 0 deletions