path: root/src/plugins/platforms/windows/qwindowsscreen.cpp
diff options
authorTor Arne Vestbø <>2017-10-06 15:50:29 +0200
committerTor Arne Vestbø <>2017-10-16 17:22:21 +0000
commitac35f9c44c0fb3b2f40ae5585c497200b2ba743d (patch)
treeadcb532550ace44bdf3115b5e465e09aa44ed292 /src/plugins/platforms/windows/qwindowsscreen.cpp
parented9340a926aabcf3bf98091ed0436d6b02dd2c14 (diff)
macOS: Mark the widget's container as embedded when placed into NSMenuItemv5.10.0-beta2
Otherwise we'll end up creating a NSPanel for the QMacNativeWidget which is never closed, even if the backing NSView is moved to a new superview. Ideally this would be based on [NSView viewDidMoveToSuperview] and [NSView viewDidMoveToWindow], with retain/releases of the corresponding NSWindow, but that needs more research, especially as AppKit on macOS 10.13 will always keep a strong reference to the NSWindow. Task-number: QTBUG-63443 Change-Id: I9eec5ea871373d00dedf154600bf7005898cf37a Reviewed-by: Morten Johan Sørvig <>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowsscreen.cpp')
0 files changed, 0 insertions, 0 deletions