ckamm and guruz Retrieve the associated NSView more reliably
0dc7bc3 Jan 9, 2019
Retrieve the associated NSView more reliably
See owncloud/client#6930 for a crash report
pointing to an invalid pointer being used when using (NSView*)winId.

The updated code unfortunately uses private Qt headers but retrieves
the NSView in the same way that QMacNativeWidget does, which tests
indicate is more robust.

Thanks to @yan12125 for testing.
0dc7bc3