Fix buttonsize on macstyle when no widget is defined
authorJens Bache-Wiig <jens.bache-wiig@digia.com>
Thu, 1 Nov 2012 12:40:43 +0000 (13:40 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 1 Nov 2012 12:48:48 +0000 (13:48 +0100)
commit62b9ca4320dcc952db54bfaf867d68ca49ae38a9
tree3e419ab980025cd8189bffa427f5384ef4074332
parente27a58864366b65803bcd43e0b8994169d3d291a
Fix buttonsize on macstyle when no widget is defined

The previous size was incorrect and added far too much height
when the widget was undefined. When it was defined it would get
its size corrected so the patch should have very little effect on existing
widget code.

Change-Id: I7c22f4226eda270f0d71050bc4248686b035cb39
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
src/widgets/styles/qmacstyle_mac.mm