diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-06-26 17:40:58 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2017-06-29 12:21:59 +0000 |
commit | 92cfa3dfa638b193bf9d754dc24016f9ddb74d0d (patch) | |
tree | fd6fd6657341ef6be8c4cc9de569cb3082f246a4 /src/plugins/platforms/cocoa/qnswindow.h | |
parent | d95414171fe5f13de1881ed08d2bf7bc50e6e645 (diff) |
macOS: Remove workaround for crash when closing window from title bar
The platform window is now protected by a QPointer, so we don't need
to juggle the NSWindow retain count.
Task-number: QTBUG-37287
Change-Id: Id55ea311f0793370e248aa58cc8e383b574fbb40
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/plugins/platforms/cocoa/qnswindow.h')
-rw-r--r-- | src/plugins/platforms/cocoa/qnswindow.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/platforms/cocoa/qnswindow.h b/src/plugins/platforms/cocoa/qnswindow.h index 62e2d93c60..b13b6d42a9 100644 --- a/src/plugins/platforms/cocoa/qnswindow.h +++ b/src/plugins/platforms/cocoa/qnswindow.h @@ -83,7 +83,6 @@ typedef NSWindow<QNSWindowProtocol> QCocoaNSWindow; - (id)initWithNSWindow:(QCocoaNSWindow *)window platformWindow:(QCocoaWindow *)platformWindow; - (void)handleWindowEvent:(NSEvent *)theEvent; -- (void)clearWindow; - (void)detachFromPlatformWindow; @end |