Commit 6eb27afc authored by Gabriel de Dietrich's avatar Gabriel de Dietrich Committed by Gabriel de Dietrich
Browse files

Cocoa: Add QCocoaWindowPointer

This patch extends 5b54c352


by abstracting the watcher pattern. The class is specialized
for QCocoaWindow since it's aware of the QObject sentinel there.

We update the usage in QNSWindowHelper and extend it to the
forward window (this one is used for mouse coordinate conversion
when docking windows).

Change-Id: I628415527593daec835bbad1b6e83d13fe7b6703
Reviewed-by: default avatarTimur Pocheptsov <timur.pocheptsov@theqtcompany.com>
parent e6c03734
No related merge requests found
Showing with 53 additions and 19 deletions
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment