summaryrefslogtreecommitdiffstats
path: root/examples/widgets
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2017-02-09 14:01:55 +0100
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2017-05-08 13:30:33 +0000
commit7124096f2bd722c05ceb3e863cd92ddebb886e13 (patch)
treebfa7ef335058c1b02f92a6eee389ce2020ed8db8 /examples/widgets
parent4a5a4245b7f24b53847e96f1eee5445bdae537e6 (diff)
macOS: Reduce usage of m_nsWindow in favor of isContentView()
The m_nsWindow member both indicates whether or not the QCocoaWindow represents the content view of a NSWindow, and provides access to that NSWindow. The former is better expressed through isContentView(), which allows us to then replace m_nsWindow entirely in a followup with access though m_view.window, removing the need to cache the NSWindow. Change-Id: I6e7de4b6d64b29fc9023222be045254f18be28cd Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'examples/widgets')
0 files changed, 0 insertions, 0 deletions