From 87b32ba99034d64320e8c08e95e7bad74ae4b71c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Mon, 24 Oct 2016 17:02:16 +0200 Subject: macOS: Remove m_childWindows in favor of m_view.window.childWindows Verified NSWindowChild use-case with windowchildgeometry manual test. Change-Id: If52abdcb87b3762182322a88d1935615a07cf162 Reviewed-by: Erik Verbruggen --- src/plugins/platforms/cocoa/qcocoawindow.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/platforms/cocoa/qcocoawindow.h') diff --git a/src/plugins/platforms/cocoa/qcocoawindow.h b/src/plugins/platforms/cocoa/qcocoawindow.h index 7cf6621964..025ef29d1a 100644 --- a/src/plugins/platforms/cocoa/qcocoawindow.h +++ b/src/plugins/platforms/cocoa/qcocoawindow.h @@ -274,6 +274,8 @@ protected: bool isChildNSWindow() const; bool isContentView() const; + void foreachChildNSWindow(void (^block)(QCocoaWindow *)); + void recreateWindowIfNeeded(); QCocoaNSWindow *createNSWindow(bool shouldBeChildNSWindow, bool shouldBePanel); @@ -299,7 +301,6 @@ public: // for QNSView bool m_viewIsToBeEmbedded; // true if the m_view is intended to be embedded in a "foreign" NSView hiearchy QCocoaWindow *m_parentCocoaWindow; - QList m_childWindows; Qt::WindowFlags m_windowFlags; bool m_effectivelyMaximized; -- cgit v1.2.3