QFusionStyle: Fix crash on iOS
authorRichard Moe Gustavsen <richard.gustavsen@digia.com>
Thu, 21 Feb 2013 12:44:01 +0000 (13:44 +0100)
committerTor Arne Vestbø <tor.arne.vestbo@digia.com>
Wed, 27 Feb 2013 22:56:12 +0000 (23:56 +0100)
commit9b05f675e311d1962f0670193cf4df75a07f4999
tree1b7e95bdf142da42a5d9fea6068a46c78055eddd
parent75a7dc7a574e0c949214feecc711e385f38060e9
QFusionStyle: Fix crash on iOS

First of all, the ifdef section was meant for osx, and not ios.
Second, a platform theme does not necessarily need to override the
palette function, which will return 0 by default.

Change-Id: I5a28f4ee1020c9253d0803c9d962c6a058e5358c
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
src/widgets/styles/qfusionstyle_p_p.h