Set the style mask manually.
Looks like the window flags conversion code from Qt 4 is not working, set a style mask suitable for qmlscene for now. Change-Id: I5e672f586045a0f0403f6b75252f0029c8d8a205 Reviewed-on: http://codereview.qt.nokia.com/2956 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@nokia.com>
This commit is contained in:
parent
4e6c4d50a5
commit
48ba733fcf
@ -339,8 +339,8 @@ QNSWindow * QCocoaWindow::createWindow()
|
||||
break;
|
||||
}
|
||||
default:
|
||||
window = [[NSWindow alloc] initWithContentRect:frame
|
||||
styleMask:m_windowAttributes
|
||||
window = [[QNSWindow alloc] initWithContentRect:frame
|
||||
styleMask:(NSResizableWindowMask | NSClosableWindowMask | NSMiniaturizableWindowMask | NSTitledWindowMask)
|
||||
backing:NSBackingStoreBuffered
|
||||
defer:YES];
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user