Mac: Fix inactive window appearance
authorGabriel de Dietrich <gabriel.dedietrich@digia.com>
Tue, 5 Mar 2013 19:16:53 +0000 (20:16 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 6 Mar 2013 16:24:31 +0000 (17:24 +0100)
commit4520cb98659960e343a3bcbcf4477858971290dc
tree0cf16a076ef549c54af8cf647da347019da403ce
parent6d3ab0c96b4372ebde610fd59196de7d321ac14c
Mac: Fix inactive window appearance

The inactive palette values were set to be the same as the disabled
palettte whereas, on Mac, they are the same as the active palette.

Also, some of the logic to draw inactive looking widgets was a bit
dubious. Add to that the fact that HITheme is not responding to
kThemeStateInactive as expected, or so it looks.

Task-number: QTBUG-29860
Change-Id: I5d67765a9411a40449a8a4440276b2fad167f7c4
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
src/plugins/platforms/cocoa/qcocoasystemsettings.mm
src/widgets/styles/qmacstyle_mac.mm