Cocoa: Set correct child window geometry.
authorMorten Sorvig <morten.sorvig@nokia.com>
Wed, 26 Oct 2011 10:35:52 +0000 (12:35 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 27 Oct 2011 07:38:26 +0000 (09:38 +0200)
commit3849455ee791d6f5cd4b87253732827d40e5d28a
treee4882153eb7b03db3fffbeec9fedd03fbc16c31b
parentdb44fdf4d65493706dc9a0aaf5e58729dc7867f9
Cocoa: Set correct child window geometry.

Remote globalGeometry which was completely wrong,
replace with flipRect which converts from Qt
screen coordinates to OS X screen coordinates.

Change-Id: Ie560cb7c2266fe779da8a44a35596d2d12af77f5
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
src/plugins/platforms/cocoa/qcocoahelpers.h
src/plugins/platforms/cocoa/qcocoahelpers.mm
src/plugins/platforms/cocoa/qcocoawindow.h
src/plugins/platforms/cocoa/qcocoawindow.mm