diff options
-rw-r--r-- | src/plugins/platforms/cocoa/qcocoawindow.mm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/platforms/cocoa/qcocoawindow.mm b/src/plugins/platforms/cocoa/qcocoawindow.mm index 550c429179..492a43aec4 100644 --- a/src/plugins/platforms/cocoa/qcocoawindow.mm +++ b/src/plugins/platforms/cocoa/qcocoawindow.mm @@ -63,7 +63,6 @@ QCocoaWindow::QCocoaWindow(QWindow *tlw) QNSWindowDelegate *delegate = [[QNSWindowDelegate alloc] initWithQCocoaWindow:this]; [m_nsWindow setDelegate:delegate]; - [m_nsWindow setAcceptsMouseMovedEvents:YES]; m_contentView = [[QNSView alloc] initWithQWindow:tlw]; @@ -317,9 +316,8 @@ NSWindow * QCocoaWindow::createWindow() window = panel; break; } - default: - m_nsWindow = [[NSWindow alloc] initWithContentRect:frame + window = [[NSWindow alloc] initWithContentRect:frame styleMask:m_windowAttributes backing:NSBackingStoreBuffered defer:YES]; |