Cocoa: Don't set window size in propagateSizeHints
authorMorten Johan Sorvig <morten.sorvig@nokia.com>
Wed, 14 Dec 2011 10:19:33 +0000 (11:19 +0100)
committerQt by Nokia <qt-info@nokia.com>
Thu, 15 Dec 2011 20:04:27 +0000 (21:04 +0100)
commit140579cb3ef676aa3a7c3fc322ddfcc6ec1b70f2
tree2424359ee7cd072d8f3edee263a82948969e08f4
parentc13b223979833327fc70f65ae6a847ef7142c847
Cocoa: Don't set window size in propagateSizeHints

Unless QWindow:baseSize returns a valid value.
Setting the size caused lots of window geometry
instability in Creator.

Change-Id: Iab45e88b47207db900c7655c217959391d84a1bb
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
src/plugins/platforms/cocoa/qcocoawindow.mm