Fix groupboxes for desktop components on mac
authorJens Bache-Wiig <jens.bache-wiig@digia.com>
Thu, 1 Nov 2012 11:47:40 +0000 (12:47 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 1 Nov 2012 19:17:57 +0000 (20:17 +0100)
commit8c15be7bb2488a17b2c2f62e2d2a7ed01dd331d6
tree75e7abe2ff9a3242da6db0c08947e9b8df141ab3
parent5b21b6a7f0d9a9462a6b3fa45c32cb81feaaff49
Fix groupboxes for desktop components on mac

The logic was a bit odd as it would check if the groupbox had a
font set and then override it anyway. Since we anyway want the
fallback to be used for components we just make sure that the fallback
is to use the same code path.

Change-Id: Ic5071b43cda76e2bb7356a6f71cc8458c4e8bf27
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
src/widgets/styles/qmacstyle_mac.mm