Cocoa: Fix QCocoaBackingStore::flush on 10.8
authorMorten Sorvig <morten.sorvig@nokia.com>
Fri, 25 May 2012 09:36:03 +0000 (11:36 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 6 Jun 2012 05:41:14 +0000 (07:41 +0200)
commit09001e72dc527cb50d84c15d7afdfb4b4116c883
tree977cc190ca515de3a7c8b22583a571b4487c780d
parent4951d1611021e6ffd29fe33918c7c0ebd0a17844
Cocoa: Fix QCocoaBackingStore::flush on 10.8

The call to displayRect works on 10.7 but does not
update the pixels on screen on 10.8. Many Qt windows
do not update properly.

This is a workaround found by trail and error
without fully understanding the underlying issue.
I would like to have this in place until we can
determine the cause of the bug.

Change-Id: I1ecee745f42a93ded4f651cc8ad51963f250e78d
Reviewed-by: Christoph Schleifenbaum <christoph.schleifenbaum@kdab.com>
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
src/plugins/platforms/cocoa/qcocoabackingstore.mm