Change-Id: I90f7bff954f3710f48d7416287bb5debafa94447
Reviewed-on: http://codereview.qt.nokia.com/2570
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@nokia.com>
QNSWindowDelegate *delegate = [[QNSWindowDelegate alloc] initWithQCocoaWindow:this];
[m_nsWindow setDelegate:delegate];
QNSWindowDelegate *delegate = [[QNSWindowDelegate alloc] initWithQCocoaWindow:this];
[m_nsWindow setDelegate:delegate];
[m_nsWindow setAcceptsMouseMovedEvents:YES];
m_contentView = [[QNSView alloc] initWithQWindow:tlw];
[m_nsWindow setAcceptsMouseMovedEvents:YES];
m_contentView = [[QNSView alloc] initWithQWindow:tlw];
- m_nsWindow = [[NSWindow alloc] initWithContentRect:frame
+ window = [[NSWindow alloc] initWithContentRect:frame
styleMask:m_windowAttributes
backing:NSBackingStoreBuffered
defer:YES];
styleMask:m_windowAttributes
backing:NSBackingStoreBuffered
defer:YES];